Make UEFI boot-platform build again
[haiku.git] / headers / private / input / touchpad_driver.h
blobed8bf3a71658efb59723e02fadc07f35f72b7047
1 //
2 // kb_mouse_driver.h
3 //
4 #ifndef _TOUCHPAD_DRIVER_H
5 #define _TOUCHPAD_DRIVER_H
7 #include <SupportDefs.h>
8 #include <Drivers.h>
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 #define B_ONE_FINGER 0x01
15 #define B_TWO_FINGER 0x02
16 #define B_MULTI_FINGER 0x04
17 #define B_PEN 0x08
19 typedef struct {
20 uint8 buttons;
21 uint32 xPosition;
22 uint32 yPosition;
23 uint8 zPressure;
24 uint8 fingers;
25 bool gesture;
26 uint8 fingerWidth;
27 // 1 - 4 normal width
28 // 5 - 11 very wide finger or palm
29 // 12 maximum reportable width; extrem wide contact
30 } touchpad_movement;
33 #ifdef __cplusplus
35 #endif
37 #endif