libctr9
Nintendo 3DS ARM9 library
|
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef uint32_t | ctr_hid_button_type |
Functions | |
bool | ctr_hid_button_status (ctr_hid_button_type buttons) |
Returns whether the given button combination is pressed or not. More... | |
ctr_hid_button_type | ctr_hid_get_buttons (void) |
Returns all of the buttons pressed at the instant this is called. More... | |
bool ctr_hid_button_status | ( | ctr_hid_button_type | buttons | ) |
Returns whether the given button combination is pressed or not.
[in] | buttons | Button combination to check if they are pressed. |
ctr_hid_button_type ctr_hid_get_buttons | ( | void | ) |
Returns all of the buttons pressed at the instant this is called.
returns All of the buttons pressed at the time this function is called.