Commit Graph

90 Commits

Author SHA1 Message Date
Merlijn Wajer
57065a7319 Read-part now does multiple inputs. 2013-05-18 17:39:23 +02:00
Merlijn Wajer
f02a1f84f5 Remove silly import. 2013-05-15 01:08:20 +02:00
Merlijn Wajer
2c95caf9b1 Switch to Python as main implementation. 2013-05-14 23:53:37 +02:00
Merlijn Wajer
7ffbabe6ad Rename files. 2013-05-14 23:46:18 +02:00
Merlijn Wajer
8c62a5910e Improve help a bit. 2013-05-14 21:30:03 +02:00
Merlijn Wajer
8ecdcd1bc1 Configuration now allows modifying the dictionary. 2013-05-14 02:15:01 +02:00
Merlijn Wajer
1022db5eaf Improve argument parsing. 2013-05-10 17:33:25 +02:00
Merlijn Wajer
a5ec64431d Improve touchscreen config. 2013-05-10 17:33:12 +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
a3b31afdc3 Minor changes. 2013-04-25 20:52:08 +02:00
Merlijn Wajer
0807098744 Fix compilation error. 2013-04-25 20:51:33 +02:00
Merlijn Wajer
d09d6011d8 Improve mapping and config support. 2013-04-21 12:42:51 +02:00
Merlijn Wajer
9d21419deb Clean up create.py a bit. 2013-04-21 01:50:49 +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
Merlijn Wajer
e9de2ec43d Free device. 2013-04-20 00:51:46 +02:00
Merlijn Wajer
186b9cca92 Remove debug statement. 2013-04-20 00:51:36 +02:00
Merlijn Wajer
a0c79ee086 Fix uinput python code. 2013-04-20 00:08:58 +02:00
Merlijn Wajer
1695c30330 Fix structire. 2013-04-19 23:24:50 +02:00
Merlijn Wajer
b6c5b6bee1 Initial work on create/uinput tests. 2013-04-19 01:11:56 +02:00
Merlijn Wajer
1bddfc11ad Remove struct. 2013-04-19 00:16:28 +02:00
Merlijn Wajer
52736ea198 Add linux_uinput; cleanups. 2013-04-19 00:10:15 +02:00
Merlijn Wajer
4eb6a0f1d4 ioctl work ; reading keys works. 2013-04-18 18:13:57 +02:00
Merlijn Wajer
9c5c57a7eb More dynamic, still WIP. 2013-04-18 01:38:28 +02:00
Merlijn Wajer
be7359e227 Fix stupid bug. 2013-04-18 00:51:50 +02:00
Merlijn Wajer
6290c43984 Small and simple evtest-like program. 2013-04-18 00:50:28 +02:00
Merlijn Wajer
63f355c187 Initial python files. 2013-04-18 00:34:45 +02:00
Merlijn Wajer
ae1bbfaf39 Hacky, but working input-clone.
Aside from ABS values.
Code is ripped from evtest; which is GPLv2.
We'll need to do some licensing stuff later.
2013-04-13 00:54:26 +02:00
Merlijn Wajer
01b5b98b8b Merge branch 'master' into input-clone 2013-04-12 21:40:23 +02:00
Merlijn Wajer
3624440e13 And make it rst syntax. 2013-03-14 13:41:05 +01:00
Merlijn Wajer
178009ef9c Rename README. 2013-03-14 13:39:44 +01:00
Merlijn Wajer
d1045284f8 Merge branch 'master' into input-clone 2013-02-13 12:07:32 +01:00
Merlijn Wajer
03fa8e84a1 Small change. 2013-02-13 00:34:09 +01:00
Merlijn Wajer
7006c33538 Merge branch 'master' of github.com:MerlijnWajer/uinput-mapper
Conflicts:
	Makefile
2013-02-12 23:12:42 +01:00
Merlijn Wajer
9cf9200829 ``make all'' to make all configurations. 2013-02-12 23:09:34 +01:00
Merlijn Wajer
ad35a7e1b3 Merge pull request #1 from tgbit/master
makefile improvements
2013-02-10 03:12:48 -08:00
Gabor Adam Toth
fe9ba8b4c1 improved makefile 2013-02-10 10:52:06 +01:00
Merlijn Wajer
b8fbe26e5d Merge branch 'master' into input-clone 2013-02-09 21:34:11 +01:00
Merlijn Wajer
16a3e67d3b Modernize key.h 2013-02-09 14:02:52 +01:00
Merlijn Wajer
5174434d20 Merge branch 'master' into input-clone 2013-02-09 13:40:48 +01:00
Merlijn Wajer
33a3cd1dc2 Merge remote-tracking branch 'origin/master' 2013-02-09 13:39:53 +01:00
Merlijn Wajer
51498c3469 Add mouse -> keyboard mapping example. 2013-02-09 13:32:26 +01:00
Merlijn Wajer
e2763d2eba Add mouse -> keyboard mapping example. 2013-02-09 13:31:58 +01:00
Merlijn Wajer
d3373d9435 Small TODO. 2013-01-27 01:10:57 +01:00
Merlijn Wajer
4918d8669e Initial input-clone 2013-01-16 02:28:36 +01:00