Directional Pad Configuration Information Structure
The directional pad configuration information structure provides information used during configuration and in interpreting directional pad element data. For each element of kindkISpElementKind_DPad
, the device driver fills out a directional pad configuration information structure, which is stored by InputSprocket. A directional pad configuration information structure is defined by theISpDPadConfigurationInfo
data type.
typedef struct { UInt32 id; Boolean fourWayPad; } ISpDPadConfigurationInfo;
Field Description
id
- Use this ID to indicate which directional pad to assign first during configuration if the device has more than one directional pad element. A lower value indicates priority. A value of 0 means use the directional pads in any order.
fourWayPad
- This value is
true
if the pad can produce only four directions plus idle.