Minor changes.

This commit is contained in:
Merlijn Wajer 2013-04-25 20:52:08 +02:00
parent 0807098744
commit a3b31afdc3
2 changed files with 3 additions and 5 deletions

View File

@ -97,6 +97,9 @@ class InputDevice(object):
if hasattr(self, '_f'):
os.close(self._f)
class InputDeviceStream(object):
pass
def open_uinput():
try:

View File

@ -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)