SDL_PenInputFlags

Pen input flags, as reported by various pen events' pen_state field.

Values

ValueMeaning
SDL_PEN_INPUT_DOWN(1u << 0)

Pen is pressed down

SDL_PEN_INPUT_BUTTON_1(1u << 1)

Button 1 is pressed

SDL_PEN_INPUT_BUTTON_2(1u << 2)

Button 2 is pressed

SDL_PEN_INPUT_BUTTON_3(1u << 3)

Button 3 is pressed

SDL_PEN_INPUT_BUTTON_4(1u << 4)

Button 4 is pressed

SDL_PEN_INPUT_BUTTON_5(1u << 5)

Button 5 is pressed

SDL_PEN_INPUT_ERASER_TIP(1u << 30)

Eraser tip is used

Meta