Поделиться через


Action Mapping Constants

This section is a reference to the constants defined in Dinput.h for application genres and controls mapped to actions within each genre.

The control constants, such as DIAXIS_FIGHTINGH_MOVE, are used in the dwSemantic member of the DIACTION structure to associate the control with an action in the application.

The constants for the genres, such as DIVIRTUAL_FIGHTING_HAND2HAND, are used in the dwGenre member of the DIACTIONFORMAT structure.

Action mapping constants are provided for application genres in the following categories.

The dwSemantic member of the DIACTION structure member can map the action to a particular device object rather than a virtual control. Device object constants are provided in the following categories.