#include "types.h"
Go to the source code of this file.
Macros | |
#define | JOY_ACTION_ALL (u8)(-1) |
Typedefs | |
typedef void(* | JOYSTICK_Function) (void) |
Joystick function handler function pointer. | |
Enumerations | |
enum | JOYSTICK_Error { JOY_ERR_OK = 0 , JOY_ERR_RIT_UNINIT } |
enum | JOYSTICK_Action { JOY_ACTION_SEL = 0 , JOY_ACTION_DOWN , JOY_ACTION_LEFT , JOY_ACTION_RIGHT , JOY_ACTION_UP , JOY_ACTION_COUNT } |
#define JOY_ACTION_ALL (u8)(-1) |
Definition at line 30 of file joystick_types.h.
typedef void(* JOYSTICK_Function) (void) |
Joystick function handler function pointer.
Definition at line 16 of file joystick_types.h.
enum JOYSTICK_Action |
Enumerator | |
---|---|
JOY_ACTION_SEL | |
JOY_ACTION_DOWN | |
JOY_ACTION_LEFT | |
JOY_ACTION_RIGHT | |
JOY_ACTION_UP | |
JOY_ACTION_COUNT |
Definition at line 20 of file joystick_types.h.
enum JOYSTICK_Error |
Enumerator | |
---|---|
JOY_ERR_OK | No error. |
JOY_ERR_RIT_UNINIT | During initialization, POLL_WITH_RIT was requested but the RIT was not enabled. |
Definition at line 6 of file joystick_types.h.