From a3b31afdc3b4831eab4db63d24dd2c3e34b05538 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Thu, 25 Apr 2013 20:52:08 +0200 Subject: [PATCH] Minor changes. --- py/cinput.py | 3 +++ py/create.py | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/py/cinput.py b/py/cinput.py index 992b856..24e6a66 100644 --- a/py/cinput.py +++ b/py/cinput.py @@ -97,6 +97,9 @@ class InputDevice(object): if hasattr(self, '_f'): os.close(self._f) +class InputDeviceStream(object): + pass + def open_uinput(): try: diff --git a/py/create.py b/py/create.py index 9cb6a64..12300cf 100644 --- a/py/create.py +++ b/py/create.py @@ -1,10 +1,6 @@ import linux_uinput, ctypes, fcntl, os, sys - from cinput import * - from mapper import KeyMapper, parse_conf - - from example_conf import config clone = False @@ -15,7 +11,6 @@ d = UInputDevice() if clone: conf = parse_conf(f) m = KeyMapper(conf) - else: m = KeyMapper(config)