namespace
#include <bn_keypad.h>
keypad Keypad related functions.
Enums
Functions
-
auto held(key_
type key) -> bool - Indicates if the given key is held or not.
-
auto pressed(key_
type key) -> bool - Indicates if the given key has been pressed in the current frame or not.
-
auto released(key_
type key) -> bool - Indicates if the given key has been released in the current frame or not.
- auto a_held() -> bool
- Indicates if the
A
key is held or not. - auto a_pressed() -> bool
- Indicates if the
A
key has been pressed in the current frame or not. - auto a_released() -> bool
- Indicates if the
A
key has been released in the current frame or not. - auto b_held() -> bool
- Indicates if the
B
key is held or not. - auto b_pressed() -> bool
- Indicates if the
B
key has been pressed in the current frame or not. - auto b_released() -> bool
- Indicates if the
B
key has been released in the current frame or not. - auto select_held() -> bool
- Indicates if the
Select
key is held or not. - auto select_pressed() -> bool
- Indicates if the
Select
key has been pressed in the current frame or not. - auto select_released() -> bool
- Indicates if the
Select
key has been released in the current frame or not. - auto start_held() -> bool
- Indicates if the
Start
key is held or not. - auto start_pressed() -> bool
- Indicates if the
Start
key has been pressed in the current frame or not. - auto start_released() -> bool
- Indicates if the
Start
key has been released in the current frame or not. - auto right_held() -> bool
- Indicates if the
Right
key is held or not. - auto right_pressed() -> bool
- Indicates if the
Right
key has been pressed in the current frame or not. - auto right_released() -> bool
- Indicates if the
Right
key has been released in the current frame or not. - auto left_held() -> bool
- Indicates if the
Left
key is held or not. - auto left_pressed() -> bool
- Indicates if the
Left
key has been pressed in the current frame or not. - auto left_released() -> bool
- Indicates if the
Left
key has been released in the current frame or not. - auto up_held() -> bool
- Indicates if the
Up
key is held or not. - auto up_pressed() -> bool
- Indicates if the
Up
key has been pressed in the current frame or not. - auto up_released() -> bool
- Indicates if the
Up
key has been released in the current frame or not. - auto down_held() -> bool
- Indicates if the
Down
key is held or not. - auto down_pressed() -> bool
- Indicates if the
Down
key has been pressed in the current frame or not. - auto down_released() -> bool
- Indicates if the
Down
key has been released in the current frame or not. - auto r_held() -> bool
- Indicates if the
R
key is held or not. - auto r_pressed() -> bool
- Indicates if the
R
key has been pressed in the current frame or not. - auto r_released() -> bool
- Indicates if the
R
key has been released in the current frame or not. - auto l_held() -> bool
- Indicates if the
L
key is held or not. - auto l_pressed() -> bool
- Indicates if the
L
key has been pressed in the current frame or not. - auto l_released() -> bool
- Indicates if the
L
key has been released in the current frame or not. - auto any_held() -> bool
- Indicates if any key is held or not.
- auto any_pressed() -> bool
- Indicates if any key has been pressed in the current frame or not.
- auto any_released() -> bool
- Indicates if any key has been released in the current frame or not.