#include <keys.h>
Data Fields | |
unsigned int | value |
32-bit value containing all keys | |
int | select:1 |
Select. | |
int | reserved1:2 |
For padding, do not use. | |
int | start:1 |
Start. | |
int | up:1 |
Up (d-pad). | |
int | right:1 |
Right (d-pad). | |
int | down:1 |
Down (d-pad). | |
int | left:1 |
Left (d-pad). | |
int | L:1 |
L (shoulder). | |
int | R:1 |
R (shoulder). | |
int | reserved2:2 |
For padding, do not use. | |
int | triangle:1 |
Triangle. | |
int | circle:1 |
Circle. | |
int | cross:1 |
Cross. | |
int | square:1 |
Square. | |
int | home:1 |
Home (seems not to work). | |
int | hold:1 |
Hold (power switch in the opposite direction). | |
int | reserved3:5 |
For padding, do not use. | |
int | note:1 |
Note (seems not to work). |