diff options
| -rw-r--r-- | INSTALL | 4 | ||||
| -rw-r--r-- | tools/evemu-play.c | 2 |
2 files changed, 3 insertions, 3 deletions
| @@ -17,11 +17,11 @@ To record a stream of events, do | |||
| 17 | 17 | ||
| 18 | To create a device from the properties, do | 18 | To create a device from the properties, do |
| 19 | 19 | ||
| 20 | sudo ./tools/evemu-create device.properties | 20 | sudo ./tools/evemu-device device.properties |
| 21 | 21 | ||
| 22 | To replay a stream of events, do | 22 | To replay a stream of events, do |
| 23 | 23 | ||
| 24 | sudo ./tools/evemu-play /dev/input/eventY device.data | 24 | sudo ./tools/evemu-play /dev/input/eventY < device.data |
| 25 | 25 | ||
| 26 | To destroy the device, do | 26 | To destroy the device, do |
| 27 | 27 | ||
diff --git a/tools/evemu-play.c b/tools/evemu-play.c index 54a16d9..286bf6a 100644 --- a/tools/evemu-play.c +++ b/tools/evemu-play.c | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | int main(int argc, char *argv[]) | 34 | int main(int argc, char *argv[]) |
| 35 | { | 35 | { |
| 36 | int fd; | 36 | int fd; |
| 37 | if (argc < 2) { | 37 | if (argc != 2) { |
| 38 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); | 38 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); |
| 39 | fprintf(stderr, "\n"); | 39 | fprintf(stderr, "\n"); |
| 40 | fprintf(stderr, "Event data is read from standard input.\n"); | 40 | fprintf(stderr, "Event data is read from standard input.\n"); |
