summaryrefslogtreecommitdiff
path: root/extras/input_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/input_id')
-rw-r--r--extras/input_id/input_id.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/input_id/input_id.c b/extras/input_id/input_id.c
index 95f78795c0..21ee6b3cd3 100644
--- a/extras/input_id/input_id.c
+++ b/extras/input_id/input_id.c
@@ -89,6 +89,8 @@ static void test_pointers (const unsigned long* bitmask_ev,
/* This path is taken by VMware's USB mouse, which has
* absolute axes, but no touch/pressure button. */
is_mouse = 1;
+ else if (test_bit (BTN_TOUCH, bitmask_key))
+ puts("ID_INPUT_TOUCHSCREEN=1");
}
if (test_bit (EV_REL, bitmask_ev) &&