aboutsummaryrefslogtreecommitdiffstats
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)
case ABS_MT_ORIENTATION:
hw->finger[hw->nread].orientation = ev->value;
break;
+ case ABS_MT_PRESSURE:
+ hw->finger[hw->nread].pressure = ev->value;
+ break;
case ABS_MT_POSITION_X:
hw->finger[hw->nread].position_x = ev->value;
break;