keypad namespace
#include <bn_keypad.h>
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
Akey is held or not. - auto a_pressed() -> bool
- Indicates if the
Akey has been pressed in the current frame or not. - auto a_released() -> bool
- Indicates if the
Akey has been released in the current frame or not. - auto b_held() -> bool
- Indicates if the
Bkey is held or not. - auto b_pressed() -> bool
- Indicates if the
Bkey has been pressed in the current frame or not. - auto b_released() -> bool
- Indicates if the
Bkey has been released in the current frame or not. - auto select_held() -> bool
- Indicates if the
Selectkey is held or not. - auto select_pressed() -> bool
- Indicates if the
Selectkey has been pressed in the current frame or not. - auto select_released() -> bool
- Indicates if the
Selectkey has been released in the current frame or not. - auto start_held() -> bool
- Indicates if the
Startkey is held or not. - auto start_pressed() -> bool
- Indicates if the
Startkey has been pressed in the current frame or not. - auto start_released() -> bool
- Indicates if the
Startkey has been released in the current frame or not. - auto right_held() -> bool
- Indicates if the
Rightkey is held or not. - auto right_pressed() -> bool
- Indicates if the
Rightkey has been pressed in the current frame or not. - auto right_released() -> bool
- Indicates if the
Rightkey has been released in the current frame or not. - auto left_held() -> bool
- Indicates if the
Leftkey is held or not. - auto left_pressed() -> bool
- Indicates if the
Leftkey has been pressed in the current frame or not. - auto left_released() -> bool
- Indicates if the
Leftkey has been released in the current frame or not. - auto up_held() -> bool
- Indicates if the
Upkey is held or not. - auto up_pressed() -> bool
- Indicates if the
Upkey has been pressed in the current frame or not. - auto up_released() -> bool
- Indicates if the
Upkey has been released in the current frame or not. - auto down_held() -> bool
- Indicates if the
Downkey is held or not. - auto down_pressed() -> bool
- Indicates if the
Downkey has been pressed in the current frame or not. - auto down_released() -> bool
- Indicates if the
Downkey has been released in the current frame or not. - auto r_held() -> bool
- Indicates if the
Rkey is held or not. - auto r_pressed() -> bool
- Indicates if the
Rkey has been pressed in the current frame or not. - auto r_released() -> bool
- Indicates if the
Rkey has been released in the current frame or not. - auto l_held() -> bool
- Indicates if the
Lkey is held or not. - auto l_pressed() -> bool
- Indicates if the
Lkey has been pressed in the current frame or not. - auto l_released() -> bool
- Indicates if the
Lkey 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.