Mouse.Button (gb.sdl2)

Static Property Read Button As Integer

Return the state of the mouse buttons.

The ith represents the state of the ith button.

Bit Button
0 Left button
1 Middle button
2 Right button

You should rather use the Left, Middle and Right properties during a MouseDown or MouseUp event.