KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Controller capability bits.

Macros

#define CONT_CAPABILITY_C   (1<<0)
#define CONT_CAPABILITY_B   (1<<1)
#define CONT_CAPABILITY_A   (1<<2)
#define CONT_CAPABILITY_START   (1<<3)
#define CONT_CAPABILITY_DPAD_UP   (1<<4)
#define CONT_CAPABILITY_DPAD_DOWN   (1<<5)
#define CONT_CAPABILITY_DPAD_LEFT   (1<<6)
#define CONT_CAPABILITY_DPAD_RIGHT   (1<<7)
#define CONT_CAPABILITY_Z   (1<<8)
#define CONT_CAPABILITY_Y   (1<<9)
#define CONT_CAPABILITY_X   (1<<10)
#define CONT_CAPABILITY_D   (1<<11)
#define CONT_CAPABILITY_DPAD2_UP   (1<<12)
#define CONT_CAPABILITY_DPAD2_DOWN   (1<<13)
#define CONT_CAPABILITY_DPAD2_LEFT   (1<<14)
#define CONT_CAPABILITY_DPAD2_RIGHT   (1<<15)
#define CONT_CAPABILITY_RTRIG   (1<<16)
#define CONT_CAPABILITY_LTRIG   (1<<17)
#define CONT_CAPABILITY_ANALOG_X   (1<<18)
#define CONT_CAPABILITY_ANALOG_Y   (1<<19)
#define CONT_CAPABILITY_ANALOG2_X   (1<<20)
#define CONT_CAPABILITY_ANALOG2_Y   (1<<21)

Detailed Description

These bits will be set in the function_data for the controller's deviceinfo if the controller supports the corresponding feature.


Macro Definition Documentation

#define CONT_CAPABILITY_A   (1<<2)
#define CONT_CAPABILITY_ANALOG2_X   (1<<20)
#define CONT_CAPABILITY_ANALOG2_Y   (1<<21)
#define CONT_CAPABILITY_ANALOG_X   (1<<18)
#define CONT_CAPABILITY_ANALOG_Y   (1<<19)
#define CONT_CAPABILITY_B   (1<<1)
#define CONT_CAPABILITY_C   (1<<0)
#define CONT_CAPABILITY_D   (1<<11)
#define CONT_CAPABILITY_DPAD2_DOWN   (1<<13)
#define CONT_CAPABILITY_DPAD2_LEFT   (1<<14)
#define CONT_CAPABILITY_DPAD2_RIGHT   (1<<15)
#define CONT_CAPABILITY_DPAD2_UP   (1<<12)
#define CONT_CAPABILITY_DPAD_DOWN   (1<<5)
#define CONT_CAPABILITY_DPAD_LEFT   (1<<6)
#define CONT_CAPABILITY_DPAD_RIGHT   (1<<7)
#define CONT_CAPABILITY_DPAD_UP   (1<<4)
#define CONT_CAPABILITY_LTRIG   (1<<17)
#define CONT_CAPABILITY_RTRIG   (1<<16)
#define CONT_CAPABILITY_START   (1<<3)
#define CONT_CAPABILITY_X   (1<<10)
#define CONT_CAPABILITY_Y   (1<<9)
#define CONT_CAPABILITY_Z   (1<<8)