Go to the documentation of this file.
18 #ifndef __DC_MAPLE_MOUSE_H
19 #define __DC_MAPLE_MOUSE_H
21 #include <sys/cdefs.h>
32 #define MOUSE_RIGHTBUTTON (1<<1)
33 #define MOUSE_LEFTBUTTON (1<<2)
34 #define MOUSE_SIDEBUTTON (1<<3)
38 #define MOUSE_DELTA_CENTER 0x200
88 void mouse_shutdown();
int dy
Y movement value.
Definition: mouse.h:79
uint16 buttons
Definition: mouse.h:42
uint32 dummy4
Definition: mouse.h:49
Mouse status structure.
Definition: mouse.h:69
uint16 dummy1
Definition: mouse.h:43
int dx
X movement value.
Definition: mouse.h:76
int16 dy
Definition: mouse.h:45
int16 dx
Definition: mouse.h:44
uint32 dummy3
Definition: mouse.h:48
short int16
16-bit signed integer
Definition: types.h:33
unsigned short uint16
16-bit unsigned integer
Definition: types.h:29
uint32 buttons
Buttons pressed bitmask.
Definition: mouse.h:73
uint16 dummy2
Definition: mouse.h:47
unsigned long uint32
32-bit unsigned integer
Definition: types.h:28
int16 dz
Definition: mouse.h:46
int dz
Z movement value.
Definition: mouse.h:82