Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_GetMouseState(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!GetMouseState !!!SDL_!GetMouseState NAME SYNOPSIS DESCRIPTION EXAMPLE SEE ALSO ---- !!NAME SDL_!GetMouseState- Retrieve the current state of the mouse !!SYNOPSIS __#include __ __Uint8 SDL_!GetMouseState__(__int *x, int *y__); !!DESCRIPTION The current button state is returned as a button bitmask, which can be tested using the __SDL_BUTTON(X)__ macros, and __x__ and __y__ are set to the current mouse cursor position. You can pass __NULL__ for either __x__ or __y__. !!EXAMPLE SDL_!PumpEvents(); if(SDL_!GetMouseState(NULL, NULL) !!SEE ALSO __SDL_!GetRelativeMouseState__, __SDL_!PumpEvents__ ----
One page links to
SDL_GetMouseState(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.