]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
input: edt-ft5x06: report ABS_MT_PRESSURE to make X11 work
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Jul 2014 09:00:20 +0000 (11:00 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:08:22 +0000 (10:08 +0200)
drivers/input/touchscreen/edt-ft5x06.c

index d4f33992ad8cf4e7a8f2d20ed30b199ffba64bb3..7c4b9725644f2e2a542edbda515cf385f7e14ff6 100644 (file)
@@ -244,6 +244,7 @@ static irqreturn_t edt_ft5x06_ts_isr(int irq, void *dev_id)
 
                input_report_abs(tsdata->input, ABS_MT_POSITION_X, x);
                input_report_abs(tsdata->input, ABS_MT_POSITION_Y, y);
+               input_report_abs(tsdata->input, ABS_MT_PRESSURE, down);
        }
 
        input_mt_report_pointer_emulation(tsdata->input, true);