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