diff --git a/py/create.py b/py/input-create old mode 100644 new mode 100755 similarity index 98% rename from py/create.py rename to py/input-create index 412b49f..f3919f7 --- a/py/create.py +++ b/py/input-create @@ -1,3 +1,4 @@ +#!/usr/bin/env python import linux_uinput, ctypes, fcntl, os, sys from cinput import * from mapper import KeyMapper, parse_conf diff --git a/py/read.py b/py/input-read old mode 100644 new mode 100755 similarity index 95% rename from py/read.py rename to py/input-read index 4d2e93d..fccae65 --- a/py/read.py +++ b/py/input-read @@ -1,3 +1,4 @@ +#!/usr/bin/env python import linux_uinput, ctypes, fcntl, os, sys from cinput import * from mapper import KeyMapper, parse_conf @@ -10,7 +11,7 @@ except ImportError: import optparse -_usage = 'python read.py /dev/input/event<0> ... /dev/input/event' +_usage = 'input-read /dev/input/event<0> ... /dev/input/event' parser = optparse.OptionParser(description='Read input devices.', usage = _usage, version='0.01')