mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2025-02-07 02:20:17 -05:00
Minor changes.
This commit is contained in:
parent
0807098744
commit
a3b31afdc3
@ -97,6 +97,9 @@ class InputDevice(object):
|
||||
if hasattr(self, '_f'):
|
||||
os.close(self._f)
|
||||
|
||||
class InputDeviceStream(object):
|
||||
pass
|
||||
|
||||
|
||||
def open_uinput():
|
||||
try:
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user