Package io.github.libsdl4j.api.mouse
Class SDL_ButtonMask
- java.lang.Object
-
- io.github.libsdl4j.api.mouse.SDL_ButtonMask
-
-
Field Summary
Fields Modifier and Type Field Description static int
SDL_BUTTON_LMASK
static int
SDL_BUTTON_MMASK
static int
SDL_BUTTON_RMASK
static int
SDL_BUTTON_X1MASK
static int
SDL_BUTTON_X2MASK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
SDL_BUTTON(int x)
Used as a mask when testing buttons in buttonstate.static String
toString(int value)
-
-
-
Field Detail
-
SDL_BUTTON_LMASK
public static final int SDL_BUTTON_LMASK
-
SDL_BUTTON_MMASK
public static final int SDL_BUTTON_MMASK
-
SDL_BUTTON_RMASK
public static final int SDL_BUTTON_RMASK
-
SDL_BUTTON_X1MASK
public static final int SDL_BUTTON_X1MASK
-
SDL_BUTTON_X2MASK
public static final int SDL_BUTTON_X2MASK
-
-
Method Detail
-
SDL_BUTTON
public static int SDL_BUTTON(int x)
Used as a mask when testing buttons in buttonstate.- Button 1: Left mouse button
- Button 2: Middle mouse button
- Button 3: Right mouse button
-
toString
public static String toString(int value)
-
-