mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
249 B
10 lines
249 B
3 years ago
|
extern void shutdown (void);
|
||
|
extern void set_backlight (int on);
|
||
|
extern int pbutton (void);
|
||
|
extern int joystick (void);
|
||
|
|
||
|
#define JOYSTICK_L(x) ((x) & 1)
|
||
|
#define JOYSTICK_R(x) ((x) & 2)
|
||
|
#define JOYSTICK_U(x) ((x) & 4)
|
||
|
#define JOYSTICK_D(x) ((x) & 8)
|