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

Preconfigured capabilities for standard controllers More...

Macros

#define CONT_TYPE_STANDARD_CONTROLLER
 Standard controller type.
 
#define CONT_TYPE_DUAL_ANALOG_CONTROLLER
 Dual analog controller type.
 
#define CONT_TYPE_ASCII_PAD
 ASCII fighting pad controller type.
 
#define CONT_TYPE_ARCADE_STICK
 Arcade stick controller type.
 
#define CONT_TYPE_TWIN_STICK
 Twin stick joystick controller type.
 
#define CONT_TYPE_ASCII_MISSION_STICK
 ASCII Mission Stick controller type.
 
#define CONT_TYPE_RACING_CONTROLLER
 Racing wheel/controller type.
 
#define CONT_TYPE_MARACAS
 Samba De Amigo maraca controller type.
 
#define CONT_TYPE_DANCE_MAT
 Dance Dance Revolution mat controller type.
 
#define CONT_TYPE_FISHING_ROD
 Fishing rod controller type.
 
#define CONT_TYPE_POP_N_MUSIC
 Pop'n'Music controller type.
 
#define CONT_TYPE_DENSHA_DE_GO
 Densha de Go! controller type.
 

Detailed Description

Preconfigured capabilities for standard controllers

Aggregate capability mask containing all capabilities which are implemented for a particular controller type. For example, the standard controller type is simply a combination of the following capabilities:

Note
Because these are technically just capability masks, a type may also be passed to cont_has_capabilities() for detecting whether something has at least the capabilities of a type.

Macro Definition Documentation

◆ CONT_TYPE_ARCADE_STICK

#define CONT_TYPE_ARCADE_STICK
Value:
#define CONT_CAPABILITIES_STANDARD_BUTTONS
Standard button (A, B, X, Y, Start) controller capabilities.
Definition controller.h:277
#define CONT_CAPABILITIES_DPAD
Directional pad (up, down, left right) controller capabilities.
Definition controller.h:284
#define CONT_CAPABILITIES_EXTENDED_BUTTONS
Extended button (C, Z) controller capabilities.
Definition controller.h:298

Arcade stick controller type.

◆ CONT_TYPE_ASCII_MISSION_STICK

#define CONT_TYPE_ASCII_MISSION_STICK
Value:
#define CONT_CAPABILITIES_DUAL_DPAD
Both directional pads (up, down, left right) controller capabilities.
Definition controller.h:312
#define CONT_CAPABILITIES_TRIGGERS
Trigger (L, R lever) controller capabilities.
Definition controller.h:294
#define CONT_CAPABILITIES_ANALOG
Analog stick (X, Y axes) controller capabilities.
Definition controller.h:290

ASCII Mission Stick controller type.

◆ CONT_TYPE_ASCII_PAD

#define CONT_TYPE_ASCII_PAD

◆ CONT_TYPE_DANCE_MAT

#define CONT_TYPE_DANCE_MAT
Value:
#define CONT_CAPABILITY_START
Start button capability mask.
Definition controller.h:245
#define CONT_CAPABILITY_B
B button capability mask.
Definition controller.h:243
#define CONT_CAPABILITY_A
A button capability mask.
Definition controller.h:244

Dance Dance Revolution mat controller type.

◆ CONT_TYPE_DENSHA_DE_GO

#define CONT_TYPE_DENSHA_DE_GO
Value:
#define CONT_CAPABILITY_D
D button capability mask.
Definition controller.h:253

Densha de Go! controller type.

◆ CONT_TYPE_DUAL_ANALOG_CONTROLLER

#define CONT_TYPE_DUAL_ANALOG_CONTROLLER
Value:
#define CONT_CAPABILITIES_DUAL_ANALOG
Both analog sticks (X, Y axes) controller capabilities.
Definition controller.h:316

Dual analog controller type.

◆ CONT_TYPE_FISHING_ROD

#define CONT_TYPE_FISHING_ROD

◆ CONT_TYPE_MARACAS

#define CONT_TYPE_MARACAS

◆ CONT_TYPE_POP_N_MUSIC

#define CONT_TYPE_POP_N_MUSIC
Value:
#define CONT_CAPABILITY_C
C button capability mask.
Definition controller.h:242

Pop'n'Music controller type.

◆ CONT_TYPE_RACING_CONTROLLER

#define CONT_TYPE_RACING_CONTROLLER
Value:
CONT_CAPABILITY_ANALOG_X \
CONT_CAPABILITIES_SECONDARY_ANALOG)
#define CONT_CAPABILITY_DPAD_UP
First Dpad up capability mask.
Definition controller.h:246
#define CONT_CAPABILITY_DPAD_DOWN
First Dpad down capability mask.
Definition controller.h:247

Racing wheel/controller type.

◆ CONT_TYPE_STANDARD_CONTROLLER

#define CONT_TYPE_STANDARD_CONTROLLER

◆ CONT_TYPE_TWIN_STICK

#define CONT_TYPE_TWIN_STICK