|
liberis
|
High-level access to pads. More...
#include <eris/types.h>Go to the source code of this file.
Enumerations | |
| enum | pad_type { PAD_TYPE_NONE = 0, PAD_TYPE_MOUSE = 13, PAD_TYPE_MULTITAP = 14, PAD_TYPE_FXPAD = 15 } |
Functions | |
| void | eris_pad_init (int pad) |
| Initialize a pad. | |
| u32 | eris_pad_read (int pad) |
| Read the pad data. | |
| pad_type | eris_pad_type (int pad) |
| Get the pad type. | |
| int | eris_pad_connected (int pad) |
| Check if a pad is connected. | |
High-level access to pads.
| int eris_pad_connected | ( | int | pad | ) |
Check if a pad is connected.
| pad | The pad to check. (0 ~ 1) |
| void eris_pad_init | ( | int | pad | ) |
Initialize a pad.
| pad | The pad to initialize. (0 ~ 1) |
| u32 eris_pad_read | ( | int | pad | ) |
Read the pad data.
| pad | The pad to read. (0 ~ 1) |
| pad_type eris_pad_type | ( | int | pad | ) |
Get the pad type.
| pad | The pad to read. (0 ~ 1) |
1.7.4