mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2025-02-16 06:50:13 -05:00
Rename files.
This commit is contained in:
parent
8c62a5910e
commit
7ffbabe6ad
1
py/create.py → py/input-create
Normal file → Executable file
1
py/create.py → py/input-create
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
import linux_uinput, ctypes, fcntl, os, sys
|
import linux_uinput, ctypes, fcntl, os, sys
|
||||||
from cinput import *
|
from cinput import *
|
||||||
from mapper import KeyMapper, parse_conf
|
from mapper import KeyMapper, parse_conf
|
3
py/read.py → py/input-read
Normal file → Executable file
3
py/read.py → py/input-read
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
import linux_uinput, ctypes, fcntl, os, sys
|
import linux_uinput, ctypes, fcntl, os, sys
|
||||||
from cinput import *
|
from cinput import *
|
||||||
from mapper import KeyMapper, parse_conf
|
from mapper import KeyMapper, parse_conf
|
||||||
@ -10,7 +11,7 @@ except ImportError:
|
|||||||
|
|
||||||
import optparse
|
import optparse
|
||||||
|
|
||||||
_usage = 'python read.py /dev/input/event<0> ... /dev/input/event<N>'
|
_usage = 'input-read /dev/input/event<0> ... /dev/input/event<N>'
|
||||||
parser = optparse.OptionParser(description='Read input devices.',
|
parser = optparse.OptionParser(description='Read input devices.',
|
||||||
usage = _usage,
|
usage = _usage,
|
||||||
version='0.01')
|
version='0.01')
|
Loading…
Reference in New Issue
Block a user