android13/external/autotest/client/cros/input_playback
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
README initial 2024-06-22 20:45:49 +08:00
__init__.py initial 2024-06-22 20:45:49 +08:00
click_events.template initial 2024-06-22 20:45:49 +08:00
input_playback.py initial 2024-06-22 20:45:49 +08:00
keyboard.prop initial 2024-06-22 20:45:49 +08:00
keyboard.py initial 2024-06-22 20:45:49 +08:00
keyboard_T+e+s+t initial 2024-06-22 20:45:49 +08:00
keyboard_a initial 2024-06-22 20:45:49 +08:00
keyboard_alt+[ initial 2024-06-22 20:45:49 +08:00
keyboard_alt+] initial 2024-06-22 20:45:49 +08:00
keyboard_alt+home initial 2024-06-22 20:45:49 +08:00
keyboard_alt+shift+i initial 2024-06-22 20:45:49 +08:00
keyboard_b+a+d+enter initial 2024-06-22 20:45:49 +08:00
keyboard_c initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+alt+f1 initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+alt+f2 initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+alt+z initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+f5 initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+p initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+shift+c initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+shift+f3 initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+shift+i initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+shift+j initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+shift+n initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+shift+q initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+t initial 2024-06-22 20:45:49 +08:00
keyboard_ctrl+w initial 2024-06-22 20:45:49 +08:00
keyboard_d initial 2024-06-22 20:45:49 +08:00
keyboard_down initial 2024-06-22 20:45:49 +08:00
keyboard_enter initial 2024-06-22 20:45:49 +08:00
keyboard_escape initial 2024-06-22 20:45:49 +08:00
keyboard_f initial 2024-06-22 20:45:49 +08:00
keyboard_f1 initial 2024-06-22 20:45:49 +08:00
keyboard_f2 initial 2024-06-22 20:45:49 +08:00
keyboard_f3 initial 2024-06-22 20:45:49 +08:00
keyboard_f4 initial 2024-06-22 20:45:49 +08:00
keyboard_f6 initial 2024-06-22 20:45:49 +08:00
keyboard_f7 initial 2024-06-22 20:45:49 +08:00
keyboard_f8 initial 2024-06-22 20:45:49 +08:00
keyboard_f9 initial 2024-06-22 20:45:49 +08:00
keyboard_f10 initial 2024-06-22 20:45:49 +08:00
keyboard_f12 initial 2024-06-22 20:45:49 +08:00
keyboard_g+o+o+d+enter initial 2024-06-22 20:45:49 +08:00
keyboard_m initial 2024-06-22 20:45:49 +08:00
keyboard_number_block initial 2024-06-22 20:45:49 +08:00
keyboard_s initial 2024-06-22 20:45:49 +08:00
keyboard_search+L initial 2024-06-22 20:45:49 +08:00
keyboard_search+down initial 2024-06-22 20:45:49 +08:00
keyboard_search+f2 initial 2024-06-22 20:45:49 +08:00
keyboard_search+left initial 2024-06-22 20:45:49 +08:00
keyboard_search+right initial 2024-06-22 20:45:49 +08:00
keyboard_search+up initial 2024-06-22 20:45:49 +08:00
keyboard_shift+tab initial 2024-06-22 20:45:49 +08:00
keyboard_space initial 2024-06-22 20:45:49 +08:00
keyboard_tab initial 2024-06-22 20:45:49 +08:00
keyboard_w initial 2024-06-22 20:45:49 +08:00
mouse.prop initial 2024-06-22 20:45:49 +08:00
mouse_center_cursor_gesture initial 2024-06-22 20:45:49 +08:00
stylus.prop.template initial 2024-06-22 20:45:49 +08:00
stylus.py initial 2024-06-22 20:45:49 +08:00

README

How to add new gesture files:
1. Obtain a chromebook with a test image and the input source in question
    (either onboard or plugged in).
2. Determine the input node of the input, e.g. /dev/input/event4.  Either:
    a. run evtest command on the device.  The output should be names and nodes
       of all detected input sources.
    b. run touch_UpdateErrors test on the device and read the logs.  All input
       devices should be listed in .INFO along with their nodes.
3. RECORD (from the device):
    evemu-record $node -1 > $filename
4. PLAY BACK (for verification, from the device):
    evemu-play --insert-slot0 $node < $filename

Other potentially useful commands:
- Record device properties for emulation:
    evemu-describe $node
- Emulate device:
    evemu-device < $filename


See also https://www.freedesktop.org/wiki/Evemu/