Function fermium::mouse::SDL_BUTTON

source ·
pub const fn SDL_BUTTON(x: u32) -> u32
Expand description

Used as a mask when testing buttons in buttonstate.

  • Button 1: Left mouse button
  • Button 2: Middle mouse button
  • Button 3: Right mouse button