Commit Graph

107 Commits

Author SHA1 Message Date
Merlijn Wajer
2837041311 Initial version of input-replay.
Copied a lot of code form input-create; will clean up in a bit.
2013-07-04 22:58:20 +02:00
Merlijn Wajer
b9057d9138 Add grab support. 2013-06-25 17:10:50 +02:00
Merlijn Wajer
6ea3c21983 Update configurations. 2013-05-24 14:17:12 +02:00
Merlijn Wajer
1dab5cfa6c Add GPL-3. 2013-05-23 23:57:24 +02:00
Merlijn Wajer
00caf07c96 And the manifest. 2013-05-23 23:45:52 +02:00
Merlijn Wajer
784fc3e5ce Gentoo ebuild + fix input-create. 2013-05-23 23:44:42 +02:00
Merlijn Wajer
ba0187e661 Modify input-* scripts for new layout. 2013-05-23 23:35:12 +02:00
Merlijn Wajer
242b278c6b Attempt to put support libraries in a folder. 2013-05-23 23:26:55 +02:00
Merlijn Wajer
9f5caa9a13 Makefile for generated .py file. 2013-05-23 23:11:27 +02:00
Merlijn Wajer
464dfc76b7 Techinc Config. 2013-05-19 21:00:49 +02:00
Merlijn Wajer
eb5d6d3077 Update README.rst 2013-05-19 13:46:11 +02:00
Merlijn Wajer
aba2913a4b Working ABS properties. \o/ 2013-05-19 13:07:59 +02:00
Merlijn Wajer
4be3fc0b65 Fix ofd in mapper 2013-05-18 22:26:18 +02:00
Merlijn Wajer
a340b28289 Fix configuration + Exception. 2013-05-18 22:25:17 +02:00
Merlijn Wajer
d3b23386bf Allow switching between poll and epoll. 2013-05-18 18:52:29 +02:00
Merlijn Wajer
7c7abc7e59 Document most code. 2013-05-18 18:32:44 +02:00
Merlijn Wajer
72dde4af77 Initial mapping/creating multiple devices. 2013-05-18 18:10:19 +02:00
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