Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ynsta/steamcontroller.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStany MARCEL <stanypub@gmail.com>2015-11-12 19:30:02 +0300
committerStany MARCEL <stanypub@gmail.com>2015-11-12 19:30:02 +0300
commit2dc34e3c2fc36b6894d1c74fbae68013c13e262d (patch)
tree11ded51d521517890e8326db5ef33e3969dc5bf7 /src
parentb6b28a8229110fb8e747b4bc6937c3f7e9ad7752 (diff)
Correct indentation
Signed-off-by: Stany MARCEL <smarcel@pactenovation.fr>
Diffstat (limited to 'src')
-rw-r--r--src/uinput.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uinput.py b/src/uinput.py
index 14185b4..6e31cbe 100644
--- a/src/uinput.py
+++ b/src/uinput.py
@@ -34,9 +34,9 @@ from distutils.sysconfig import get_config_var
# Get All defines from linux headers
if os.path.exists('/usr/include/linux/input-event-codes.h'):
- _def = defines('/usr/include', 'linux/input-event-codes.h')
+ _def = defines('/usr/include', 'linux/input-event-codes.h')
else:
- _def = defines('/usr/include', 'linux/uinput.h')
+ _def = defines('/usr/include', 'linux/input.h')
# Keys enum contains all keys and button from linux/uinput.h (KEY_* BTN_*)
Keys = IntEnum('Keys', {i: _def[i] for i in _def.keys() if (i.startswith('KEY_') or