Modify input-* scripts for new layout.

This commit is contained in:
Merlijn Wajer 2013-05-23 23:35:12 +02:00
parent 242b278c6b
commit ba0187e661
2 changed files with 12 additions and 7 deletions

View File

@ -1,9 +1,12 @@
#!/usr/bin/env python #!/usr/bin/env python
import linux_uinput, ctypes, fcntl, os, sys import ctypes, fcntl, os, sys
from cinput import *
from mapper import KeyMapper, parse_conf, pretty_conf_print, \ import uinputmapper
import uinputmapper.linux_uinput
from uinputmappercinput import *
from uinputmappermapper import KeyMapper, parse_conf, pretty_conf_print, \
get_exported_device_count get_exported_device_count
from linux_input import timeval, input_event from uinputmapper.linux_input import timeval, input_event
try: try:
import cPickle as pickle import cPickle as pickle

View File

@ -1,9 +1,11 @@
#!/usr/bin/env python #!/usr/bin/env python
import linux_uinput, ctypes, fcntl, os, sys import ctypes, fcntl, os, sys
import select import select
from cinput import * import uinputmapper
from mapper import KeyMapper, parse_conf, pretty_conf_print import uinputmapper.linux_uinput
from uinputmapper.cinput import *
from uinputmapper.mapper import KeyMapper, parse_conf, pretty_conf_print
try: try:
import cPickle as pickle import cPickle as pickle