summaryrefslogtreecommitdiff
path: root/src/hwdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hwdata.c')
-rw-r--r--src/hwdata.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hwdata.c b/src/hwdata.c
index bd42710..9e384dc 100644
--- a/src/hwdata.c
+++ b/src/hwdata.c
@@ -81,6 +81,9 @@ int read_hwdata(struct HWData *hw, const struct input_event* ev)
81 case ABS_MT_ORIENTATION: 81 case ABS_MT_ORIENTATION:
82 hw->finger[hw->nread].orientation = ev->value; 82 hw->finger[hw->nread].orientation = ev->value;
83 break; 83 break;
84 case ABS_MT_PRESSURE:
85 hw->finger[hw->nread].pressure = ev->value;
86 break;
84 case ABS_MT_POSITION_X: 87 case ABS_MT_POSITION_X:
85 hw->finger[hw->nread].position_x = ev->value; 88 hw->finger[hw->nread].position_x = ev->value;
86 break; 89 break;