raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Input-related functions: keyboard. More...
Functions | |
RLCPPAPI int | GetCharPressed () |
Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty. | |
RLCPPAPI int | GetKeyPressed () |
Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty. | |
RLCPPAPI bool | IsKeyDown (int key) |
Detect if a key is being pressed. | |
RLCPPAPI bool | IsKeyPressed (int key) |
Detect if a key has been pressed once. | |
RLCPPAPI bool | IsKeyPressedRepeat (int key) |
Detect if a key has been pressed again (Only PLATFORM_DESKTOP) | |
RLCPPAPI bool | IsKeyReleased (int key) |
Detect if a key has been released once. | |
RLCPPAPI bool | IsKeyUp (int key) |
Detect if a key is NOT being pressed. | |
Input-related functions: keyboard.