TTK4155 Ping-pong project
|
Go to the source code of this file.
Enumerations | |
enum | button_t { joystick_button = 0, slider_l_button, slider_r_button } |
Functions | |
uint8_t | button_read (button_t button) |
Function to read joystick button or touch button push. More... | |
int | button_init (void) |
Initialize button registers. More... | |
Implementation of button driver header.
enum button_t |
int button_init | ( | void | ) |
Initialize button registers.
uint8_t button_read | ( | button_t | button | ) |
Function to read joystick button or touch button push.
button | Type of button to read. |