Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Mouse_Mapping
{
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, *LPMouse Mapping;
Constants
Constant | Description | |
---|---|---|
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 |
Remarks
DIMOUSE_XAXISAB and DIMOUSE_YAXISAB represent the x-axis and y-axis on a mouse that returns absolute rather than relative axis data.