diff --git a/TODOv3.0 b/TODOv3.0 index 8b2a843c..1851f75a 100644 --- a/TODOv3.0 +++ b/TODOv3.0 @@ -5,7 +5,7 @@ Things needing little knowledge are marked with "(Easy for contribution)". so ju [X] = Done [S] = Stopped -__TOD___ +__TODO___ Application Profiles (low priority): - reimplement process detection without subprocessing - fenrir is not able to detect the current application inside of screen. diff --git a/bugs b/bugs index 25c7db6c..5b461379 100644 --- a/bugs +++ b/bugs @@ -12,4 +12,4 @@ sudo fenrir -d stop fenrir (fenrirKey + q) the debug file is in /var/log/fenrir.log -plese be as precise as possible to make it easy to solve the problem. +please be as precise as possible to make it easy to solve the problem. diff --git a/splits.txt b/play zone/splits.txt similarity index 100% rename from splits.txt rename to play zone/splits.txt diff --git a/Changelog.txt b/realese nots/1.5.txt similarity index 100% rename from Changelog.txt rename to realese nots/1.5.txt diff --git a/tools/listDevices.py b/tools/listDevices.py new file mode 100755 index 00000000..1ddd629b --- /dev/null +++ b/tools/listDevices.py @@ -0,0 +1,23 @@ +#!/bin/python +import evdev +from evdev import InputDevice, UInput +from select import select +import time + +iDevices = map(evdev.InputDevice, (evdev.list_devices())) +iDevices = {dev.fd: dev for dev in iDevices} +print('----------------------') +for fd in iDevices: + dev = iDevices[fd] + cap = dev.capabilities() + print('Name: ' + str(dev.name)) + print('LEDs: ' + str(dev.leds())) + print('Has Keys: '+ str(evdev.events.EV_KEY in cap)) + if evdev.events.EV_KEY in cap: + 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('----------------------') +