summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mtdev-mapping.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/mtdev-mapping.h b/include/mtdev-mapping.h
index 039a2d5..cb4c326 100644
--- a/include/mtdev-mapping.h
+++ b/include/mtdev-mapping.h
@@ -33,14 +33,17 @@
33 33
34#include <mtdev.h> 34#include <mtdev.h>
35 35
36#define MTDEV_TRACKING_ID 9
37#define MTDEV_POSITION_X 5
38#define MTDEV_POSITION_Y 6
39#define MTDEV_TOUCH_MAJOR 0 36#define MTDEV_TOUCH_MAJOR 0
40#define MTDEV_TOUCH_MINOR 1 37#define MTDEV_TOUCH_MINOR 1
41#define MTDEV_WIDTH_MAJOR 2 38#define MTDEV_WIDTH_MAJOR 2
42#define MTDEV_WIDTH_MINOR 3 39#define MTDEV_WIDTH_MINOR 3
43#define MTDEV_ORIENTATION 4 40#define MTDEV_ORIENTATION 4
41#define MTDEV_POSITION_X 5
42#define MTDEV_POSITION_Y 6
43#define MTDEV_TOOL_TYPE 7
44#define MTDEV_BLOB_ID 8
45#define MTDEV_TRACKING_ID 9
46#define MTDEV_PRESSURE 10
44 47
45static const unsigned int mtdev_map_abs2mt[ABS_CNT] = { 48static const unsigned int mtdev_map_abs2mt[ABS_CNT] = {
46 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 49 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,