From 7b1fbafbbd0dd4daf3951264a9a335e6cbd4ef84 Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 11 May 2018 23:43:04 +0200 Subject: [PATCH] add capabilitys to listDev --- play zone/listDevices.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/play zone/listDevices.py b/play zone/listDevices.py index 9af5a7e7..1ddd629b 100755 --- a/play zone/listDevices.py +++ b/play zone/listDevices.py @@ -17,5 +17,7 @@ for fd in iDevices: print('No. of keys: ' + str(len(cap[evdev.events.EV_KEY]))) print('has Key 116: ' + str(116 in cap[evdev.events.EV_KEY])) print('Is Mouse: ' + str(((evdev.events.EV_REL in cap) or (evdev.events.EV_ABS in cap)))) + print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!') + print(dev.capabilities(verbose=True)) print('----------------------')