Commit Graph

10 Commits

Author SHA1 Message Date
Merlijn Wajer 8c62a5910e Improve help a bit. 2013-05-14 21:30:03 +02:00
Merlijn Wajer 1022db5eaf Improve argument parsing. 2013-05-10 17:33:25 +02:00
Merlijn Wajer c3e35b9260 Fix optparse code.
Small difference from argparse. ;-)
2013-05-10 11:13:07 +02:00
Merlijn Wajer 4323e92a13 More networked code; experimental config support.
read.py now deprecates test.py

I went with optparse rather than argparse to support Python <2.7.
Switching to argparse later should not be that hard.

Configurations still need to be extended with, among other things:

* Name for the device
2013-05-10 11:05:31 +02:00
Merlijn Wajer 19868360a3 Experimental networked input. 2013-05-09 16:10:28 +02:00
Merlijn Wajer e1b85874ba Rename read.py 2013-05-09 15:00:50 +02:00
Merlijn Wajer 98fdbecccf Basic cloning & config.
Also fixed a few bugs and added a few features.
2013-04-21 01:46:44 +02:00
Merlijn Wajer c8e7b07805 Extend uinput; replace open with os.open. 2013-04-20 13:24:36 +02:00
Merlijn Wajer 9113cb02b7 Add classes, more event constants.
- Added all event constants except for (FF_)
- Added InputDevice class.
- Cleaned up linux_input a bit
- list of events per event class is now a dictionary
2013-04-20 11:54:17 +02:00
Merlijn Wajer f6efe9f331 Clean up code a bit more; add a class. 2013-04-20 01:10:16 +02:00