Built-in Element Kinds
Use these constants to specify the kind of data an element produces and to identify virtual elements. Element kind constants are used in theISpElementInfostructure and by theISpElementList_ExtractByKindfunction.
enum { kISpElementKind_Button = 'butn', kISpElementKind_DPad = 'dpad', kISpElementKind_Axis = 'axis', kISpElementKind_Movement = 'move' kISpElementKind_Virtual = 'virt' };Constant descriptions
- kISpElementKind_Button
- Button data.
- kISpElementKind_DPad
- Directional pad data.
- kISpElementKind_Axis
- Axis data, either with or without a meaningful center position (as determined by the
ISpAxisConfigurationInfodata structure).- kISpElementKind_Movement
- Movement data that is given both as x-y axis data and directional pad data, allowing the game to use whichever is suitable.
kISpElementKind_Virtual- A virtual element created by the
ISpElement_NewVirtualfunction. Those created by theISpElement_NewVirtualFromNeedsfunction have the element kind specified by the need structure they correspond to.