(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)
Used as a mask when testing buttons in buttonstate.
Defined in SDL_mouse.h
Syntax
- Button 1: Left mouse button
- Button 2: Middle mouse button
- Button 3: Right mouse button
CategoryAPI, CategoryAPIMacro, CategoryMouse