aboutsummaryrefslogtreecommitdiffstats
path: root/evtest-create-device.xsl
Commit message (Collapse)AuthorAgeFilesLines
* evtest-capture: try /dev/uinput first (as well as /dev/input/uinput)Peter Hutterer2011-05-161-1/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Remove signal handler.Peter Hutterer2009-11-111-25/+0
| | | | | | If all we want to do is exit on Ctrl+C, we don't really need it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Parse EV_MSC bitsPeter Hutterer2009-11-111-0/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Add event time to event replay.Peter Hutterer2009-11-111-5/+18
| | | | | | | Includes some slight drifting since we don't account for the actual time we take, but that shouldn't matter too much. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Add event generation to run().Peter Hutterer2009-11-111-0/+23
| | | | | | No timestamp handling yet, the events are replayed as fast as possible. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Only run once, not in a loop.Peter Hutterer2009-11-111-4/+1
| | | | | | | | | Since we're replaying the exact sequence of events from the device, don't keep on looping forever, just run the sequence once and hope. This may require a --loop option lateron. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Use a common index instead of floods of xsl stuffPeter Hutterer2009-11-111-6/+10
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* e-c-d: Work around uniput interface incompatibility.Peter Hutterer2009-11-111-0/+2
| | | | | | uinput doesn't like min/max to be the same, even if the kernel told us exactly that. Silently increase max by one in that case and hope nobody notices.
* e-c-d: Set up the device pending on capabilities.Peter Hutterer2009-11-111-0/+21
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add evtest-create-device.xsl.Peter Hutterer2009-11-111-0/+174
Based on the testdevices repository, this stylesheet takes the captured xml output and converts it into a standalone C program that emulates the given device. So far it produces code to set up the device, does not actually send events yet. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>