mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-07 07:50:58 +00:00
include: Added documentation for SDL_PRESSED and SDL_RELEASED.
Fixes #10069.
This commit is contained in:
parent
306cc6f91e
commit
9fd54b724f
1 changed files with 18 additions and 1 deletions
|
@ -46,10 +46,27 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* General keyboard/mouse state definitions */
|
/* General keyboard/mouse/pen state definitions */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A value that signifies a button is no longer pressed.
|
||||||
|
*
|
||||||
|
* \since This macro is available since SDL 3.0.0.
|
||||||
|
*
|
||||||
|
* \sa SDL_PRESSED
|
||||||
|
*/
|
||||||
#define SDL_RELEASED 0
|
#define SDL_RELEASED 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A value that signifies a button has been pressed down.
|
||||||
|
*
|
||||||
|
* \since This macro is available since SDL 3.0.0.
|
||||||
|
*
|
||||||
|
* \sa SDL_RELEASED
|
||||||
|
*/
|
||||||
#define SDL_PRESSED 1
|
#define SDL_PRESSED 1
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The types of events that can be delivered.
|
* The types of events that can be delivered.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue