KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

Collection of all status masks for checking input More...

Macros

#define CONT_C   (1<<0)
 C button Mask.
 
#define CONT_B   (1<<1)
 B button Mask.
 
#define CONT_A   (1<<2)
 A button Mask.
 
#define CONT_START   (1<<3)
 Start button Mask.
 
#define CONT_DPAD_UP   (1<<4)
 Main Dpad Up button Mask.
 
#define CONT_DPAD_DOWN   (1<<5)
 Main Dpad Down button Mask.
 
#define CONT_DPAD_LEFT   (1<<6)
 Main Dpad Left button Mask.
 
#define CONT_DPAD_RIGHT   (1<<7)
 Main Dpad right button Mask.
 
#define CONT_Z   (1<<8)
 Z button Mask.
 
#define CONT_Y   (1<<9)
 Y button Mask.
 
#define CONT_X   (1<<10)
 X button Mask.
 
#define CONT_D   (1<<11)
 D button Mask.
 
#define CONT_DPAD2_UP   (1<<12)
 Secondary Dpad Up button Mask.
 
#define CONT_DPAD2_DOWN   (1<<13)
 Secondary Dpad Down button Mask.
 
#define CONT_DPAD2_LEFT   (1<<14)
 Secondary Dpad Left button Mask.
 
#define CONT_DPAD2_RIGHT   (1<<15)
 Secondary Dpad Right button Mask.
 

Detailed Description

Collection of all status masks for checking input

A set of bitmasks representing each input source on a controller, used to check its status.

Macro Definition Documentation

◆ CONT_A

#define CONT_A   (1<<2)

A button Mask.

◆ CONT_B

#define CONT_B   (1<<1)

B button Mask.

◆ CONT_C

#define CONT_C   (1<<0)

C button Mask.

◆ CONT_D

#define CONT_D   (1<<11)

D button Mask.

◆ CONT_DPAD2_DOWN

#define CONT_DPAD2_DOWN   (1<<13)

Secondary Dpad Down button Mask.

◆ CONT_DPAD2_LEFT

#define CONT_DPAD2_LEFT   (1<<14)

Secondary Dpad Left button Mask.

◆ CONT_DPAD2_RIGHT

#define CONT_DPAD2_RIGHT   (1<<15)

Secondary Dpad Right button Mask.

◆ CONT_DPAD2_UP

#define CONT_DPAD2_UP   (1<<12)

Secondary Dpad Up button Mask.

◆ CONT_DPAD_DOWN

#define CONT_DPAD_DOWN   (1<<5)

Main Dpad Down button Mask.

◆ CONT_DPAD_LEFT

#define CONT_DPAD_LEFT   (1<<6)

Main Dpad Left button Mask.

◆ CONT_DPAD_RIGHT

#define CONT_DPAD_RIGHT   (1<<7)

Main Dpad right button Mask.

◆ CONT_DPAD_UP

#define CONT_DPAD_UP   (1<<4)

Main Dpad Up button Mask.

◆ CONT_START

#define CONT_START   (1<<3)

Start button Mask.

◆ CONT_X

#define CONT_X   (1<<10)

X button Mask.

◆ CONT_Y

#define CONT_Y   (1<<9)

Y button Mask.

◆ CONT_Z

#define CONT_Z   (1<<8)

Z button Mask.