KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Controller button codes

Macros

#define CONT_C   (1<<0)
#define CONT_B   (1<<1)
#define CONT_A   (1<<2)
#define CONT_START   (1<<3)
#define CONT_DPAD_UP   (1<<4)
#define CONT_DPAD_DOWN   (1<<5)
#define CONT_DPAD_LEFT   (1<<6)
#define CONT_DPAD_RIGHT   (1<<7)
#define CONT_Z   (1<<8)
#define CONT_Y   (1<<9)
#define CONT_X   (1<<10)
#define CONT_D   (1<<11)
#define CONT_DPAD2_UP   (1<<12)
#define CONT_DPAD2_DOWN   (1<<13)
#define CONT_DPAD2_LEFT   (1<<14)
#define CONT_DPAD2_RIGHT   (1<<15)

Detailed Description

This is the set of all buttons that are valid for a maple bus controller device. The names should make it obvious what the button is.


Macro Definition Documentation

#define CONT_A   (1<<2)
#define CONT_B   (1<<1)
#define CONT_C   (1<<0)
#define CONT_D   (1<<11)
#define CONT_DPAD2_DOWN   (1<<13)
#define CONT_DPAD2_LEFT   (1<<14)
#define CONT_DPAD2_RIGHT   (1<<15)
#define CONT_DPAD2_UP   (1<<12)
#define CONT_DPAD_DOWN   (1<<5)
#define CONT_DPAD_LEFT   (1<<6)
#define CONT_DPAD_RIGHT   (1<<7)
#define CONT_DPAD_UP   (1<<4)
#define CONT_START   (1<<3)
#define CONT_X   (1<<10)
#define CONT_Y   (1<<9)
#define CONT_Z   (1<<8)