diff options
Diffstat (limited to 'README')
| -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. |
