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 To create a device from the properties, do - sudo ./tools/evemu-create device.properties + sudo ./tools/evemu-device device.properties To replay a stream of events, do - sudo ./tools/evemu-play /dev/input/eventY device.data + sudo ./tools/evemu-play /dev/input/eventY < device.data To destroy the device, do 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 @@ int main(int argc, char *argv[]) { int fd; - if (argc < 2) { + if (argc != 2) { fprintf(stderr, "Usage: %s <device>\n", argv[0]); fprintf(stderr, "\n"); fprintf(stderr, "Event data is read from standard input.\n"); |