summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
index 8efb27d..f0e4951 100644
--- a/README
+++ b/README
@@ -6,6 +6,27 @@ data, create devices and replay data from kernel evdev devices.
6http://bitmath.org/code/evemu/ 6http://bitmath.org/code/evemu/
7Please send patches to: patches@bitmath.org 7Please send patches to: patches@bitmath.org
8 8
9evemu produces two different data formats, one for the device description
10and one for the device event data. hex data is without a 0x prefix.
11
12Device 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
25Event Data Format:
26 E: <sec>.<usec> <evtype (hex)> <evcode (hex)> <ev value>
27where type, code and value are the respective fields of the
28input_event struct defined in linux/input.h
29
9--- 30---
10Copyright (C) 2010 Henrik Rydberg <rydberg@euromail.se> 31Copyright (C) 2010 Henrik Rydberg <rydberg@euromail.se>
11Copyright (C) 2010 Canonical Ltd. 32Copyright (C) 2010 Canonical Ltd.