From 315ae6e5a8d11d1b4fa1a868ad30d25f76bea737 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 8 Oct 2016 22:08:38 +0200 Subject: [PATCH] print current event in consumeEvent --- play zone/consumeEvents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/play zone/consumeEvents.py b/play zone/consumeEvents.py index f005f1e2..3adad634 100755 --- a/play zone/consumeEvents.py +++ b/play zone/consumeEvents.py @@ -31,6 +31,7 @@ while i < 100: for fd in r: for event in iDevices[fd].read(): if event.code != 30: # a + print(event) uDevices[fd].write_event(event) uDevices[fd].syn() #print('Devicename:'+ devices[fd].name + ' Devicepath:' + devices[fd].fn + ' Events:' + str(devices[fd].active_keys(verbose=True)) + ' Value:' + str(event.value))