summaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)AuthorFilesLines
2020-08-31Fix links in the README that referred to evtestHarry Cutts1-3/+3
2018-06-06Change all URLs to gitlab.fdoPeter Hutterer1-2/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-05-03README: fix link to wiki pagePeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-07-22Record the state of SW/LED in the evemu filePeter Hutterer1-2/+9
There is no evdev ioctl to set the state of a device without sending an event through the device, so we can't replicate the state without altering the recorded event sequence. For this reason, we use the libevdev shortcut to query the state rather than adding an evemu-specific API to get the state. The state is printed to the comments, and optionally printed to the recording (0 is assumed when missing). EV_KEY can give us the state but we don't print it, unlike the others a key state is too transient. EV_SND could be added, if we ever see demand for it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2013-07-24README: point to new input-tools mailing listPeter Hutterer1-6/+27
Now that we have a mailing list, might as well point to it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2013-07-09Read/write abs.resolution fieldPeter Hutterer1-3/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2013-04-09Bump file format versionBenjamin Tissoires1-4/+24
commit 83be088ca7876fe3c breaks old format compatibility. It requires comments to be inserted everywhere in the file, thus the bump of the file format. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-04-08Add support for comments everywhere with getlinePeter Hutterer1-0/+1
Switch to using getline for per-line handling of input. Check each line for a preceding comment character, then skip ahead. First line _may_ be the file format version so we need to manually handle that with getline. As a side-effect, this gives us support for end-of-line comments too since we always discard what is in the buffer after our scanf ended. Plus it fixes a bug where a mismatched input line would quietly confuse the parser. Previously, an input line I: 1 2 3 4 5 6\n was parsed with fscanf("I: %04x %04x %04x %04x\n", &bustype, &vendor, &product, &version) The next read to the file will point to "5" instead of the next line. Treating each line independently fixes this issue, though we're still quiet about the parsing errors. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=62272 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Benjamin Tissoires: * Change read_* to parse_* to reflect the semantic change. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2013-03-12Add file format version supportPeter Hutterer1-0/+12
Simple header in the form of # EVEMU 1.0 to add to the description format. Being a comment this means it's ignored for older version of evemu (though they may still have parsing issues), newer versions can parse it. Declare current version as 1.0 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2013-03-11Change README to markdown formatPeter Hutterer1-0/+45
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>