~oif-packaging/evemu/oneiric

« back to all changes in this revision

Viewing changes to README

  • Committer: Francis Ginther
  • Date: 2012-08-20 16:17:58 UTC
  • mfrom: (0.1.32 1.0.5)
  • mto: (14.1.2 oneiric)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: francis.ginther@canonical.com-20120820161758-5ht9bd2rgdg3v6hj
Tags: upstream-1.0.5.1
ImportĀ upstreamĀ versionĀ 1.0.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
evemu - Kernel device emulation
 
2
 
 
3
The evemu library and tools are used to describe devices, record
 
4
data, create devices and replay data from kernel evdev devices.
 
5
 
 
6
http://bitmath.org/code/evemu/
 
7
Please send patches to: patches@bitmath.org
 
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
 
 
30
---
 
31
Copyright (C) 2010 Henrik Rydberg <rydberg@euromail.se>
 
32
Copyright (C) 2010 Canonical Ltd.