From 7ffbabe6add6a6d6dcded84862db48a9b522499b Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Tue, 14 May 2013 23:46:18 +0200 Subject: [PATCH] Rename files. --- py/{create.py => input-create} | 1 + py/{read.py => input-read} | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) rename py/{create.py => input-create} (98%) mode change 100644 => 100755 rename py/{read.py => input-read} (95%) mode change 100644 => 100755 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')