blob: 549b4bb9687797a1ed40b2238219040d3a86420b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
Simple test
------------
Ensure your device works with this simple test.
.. literalinclude:: ../examples/hid_simpletest.py
:caption: examples/hid_simpletest.py
:linenos:
Keyboard Shortcuts
-------------------
Send ALT+Tab for swapping windows, and CTRL+K for searching in a browser.
.. literalinclude:: ../examples/hid_keyboard_shortcuts.py
:caption: examples/hid_keyboard_shortcuts.py
:linenos:
Simple Gamepad
---------------
Send gamepad buttons and joystick to the host.
.. literalinclude:: ../examples/hid_simple_gamepad.py
:caption: examples/hid_simple_gamepad.py
:linenos:
HID Joywing
------------
Use Joy FeatherWing to drive Gamepad.
.. literalinclude:: ../examples/hid_joywing_gamepad.py
:caption: examples/hid_joywing_gamepad.py
:linenos:
Consumer Control Brightness
----------------------------
Send brightness up and down consumer codes to the host.
.. literalinclude:: ../examples/hid_consumer_control_brightness.py
:caption: examples/hid_consumer_control_brightness.py
:linenos:
|