![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Input-related functions: keyboard. More...
Functions | |
| static int | GetCharPressed () |
| Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty. More... | |
| static int | GetKeyPressed () |
| Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty. More... | |
| static bool | IsKeyDown (int key) |
| Detect if a key is being pressed. More... | |
| static bool | IsKeyPressed (int key) |
| Detect if a key has been pressed once. More... | |
| static bool | IsKeyPressedRepeat (int key) |
| Detect if a key has been pressed again (Only PLATFORM_DESKTOP) More... | |
| static bool | IsKeyReleased (int key) |
| Detect if a key has been released once. More... | |
| static bool | IsKeyUp (int key) |
| Detect if a key is NOT being pressed. More... | |
Input-related functions: keyboard.
|
inlinestatic |
Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty.
Definition at line 58 of file Keyboard.hpp.
|
inlinestatic |
Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty.
Definition at line 51 of file Keyboard.hpp.
|
inlinestatic |
Detect if a key is being pressed.
Definition at line 29 of file Keyboard.hpp.
|
inlinestatic |
Detect if a key has been pressed once.
Definition at line 15 of file Keyboard.hpp.
|
inlinestatic |
Detect if a key has been pressed again (Only PLATFORM_DESKTOP)
Definition at line 22 of file Keyboard.hpp.
|
inlinestatic |
Detect if a key has been released once.
Definition at line 36 of file Keyboard.hpp.
|
inlinestatic |
Detect if a key is NOT being pressed.
Definition at line 43 of file Keyboard.hpp.