| ?/TD> |
| Microsoft DirectX 9.0 |
The following constants are used in the dwSemantic member of the DIACTION structure to map an action to a physical axis or button on a mouse.
Syntax
typedef enum {
DIMOUSE_BUTTON0,
DIMOUSE_BUTTON1,
DIMOUSE_BUTTON2,
DIMOUSE_BUTTON3,
DIMOUSE_BUTTON4,
DIMOUSE_BUTTON5,
DIMOUSE_BUTTON6,
DIMOUSE_BUTTON7,
DIMOUSE_WHEEL,
DIMOUSE_XAXIS,
DIMOUSE_YAXIS,
DIMOUSE_XAXISAB,
DIMOUSE_YAXISAB
} Mouse Mapping;
Constants
Remarks
DIMOUSE_XAXISAB and DIMOUSE_YAXISAB represent the x-axis and y-axis on a mouse that returns absolute rather than relative axis data.
Enumerated Type Information
Minimum operating systems Windows 98, Windows NT 2000, Windows XP