diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-05 11:40:17 +1000 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-01-05 10:35:51 +0100 |
| commit | 07b754a2991da1693638ed18063abb3f0db23300 (patch) | |
| tree | 95516bc58eca8e6187bee538cbc9438484835182 | |
| parent | bf8d556c0657d539c095e0a6c2a2494f69125d1c (diff) | |
Document output format in README.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
| -rw-r--r-- | README | 21 |
1 files changed, 21 insertions, 0 deletions
| @@ -6,6 +6,27 @@ data, create devices and replay data from kernel evdev devices. | |||
| 6 | http://bitmath.org/code/evemu/ | 6 | http://bitmath.org/code/evemu/ |
| 7 | Please send patches to: patches@bitmath.org | 7 | Please send patches to: patches@bitmath.org |
| 8 | 8 | ||
| 9 | evemu produces two different data formats, one for the device description | ||
| 10 | and one for the device event data. hex data is without a 0x prefix. | ||
| 11 | |||
| 12 | Device Description Format: | ||
| 13 | N: <device name> | ||
| 14 | I: <bustype (hex)> <vendor (hex)> <product (hex)> <version (hex)> | ||
| 15 | # for each kernel property (2.3.38 only) | ||
| 16 | P: <byte 0 (hex)> <byte 1 (hex)> ... <byte 7 (hex)> | ||
| 17 | P: <byte 8 (hex)> ... | ||
| 18 | # for each index from 0 to EV_CNT | ||
| 19 | B: <index (hex)> <byte 0 (hex)> <byte 1 (hex)> ... <byte 7 (hex)> | ||
| 20 | B: <index (hex)> <byte 8 (hex)> ... | ||
| 21 | # for each absolute axis | ||
| 22 | A: <index (hex)> <min> <max> <fuzz> <flat> | ||
| 23 | |||
| 24 | |||
| 25 | Event Data Format: | ||
| 26 | E: <sec>.<usec> <evtype (hex)> <evcode (hex)> <ev value> | ||
| 27 | where type, code and value are the respective fields of the | ||
| 28 | input_event struct defined in linux/input.h | ||
| 29 | |||
| 9 | --- | 30 | --- |
| 10 | Copyright (C) 2010 Henrik Rydberg <rydberg@euromail.se> | 31 | Copyright (C) 2010 Henrik Rydberg <rydberg@euromail.se> |
| 11 | Copyright (C) 2010 Canonical Ltd. | 32 | Copyright (C) 2010 Canonical Ltd. |
