1[
2  {
3    "name": "Press BUTTON_A",
4    "reports": [
5      [0x01, 0x01, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
6      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
7    ],
8    "source": "KEYBOARD | GAMEPAD",
9    "events": [
10      {"action": "DOWN", "keycode": "BUTTON_A"},
11      {"action": "UP", "keycode": "BUTTON_A"}
12    ]
13  },
14
15  {
16    "name": "Press BUTTON_B",
17    "reports": [
18      [0x01, 0x02, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
19      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
20    ],
21    "source": "KEYBOARD | GAMEPAD",
22    "events": [
23      {"action": "DOWN", "keycode": "BUTTON_B"},
24      {"action": "UP", "keycode": "BUTTON_B"}
25    ]
26  },
27
28  {
29    "name": "Press BUTTON_X",
30    "reports": [
31      [0x01, 0x04, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
32      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
33    ],
34    "source": "KEYBOARD | GAMEPAD",
35    "events": [
36      {"action": "DOWN", "keycode": "BUTTON_X"},
37      {"action": "UP", "keycode": "BUTTON_X"}
38    ]
39  },
40
41  {
42    "name": "Press BUTTON_Y",
43    "reports": [
44      [0x01, 0x08, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
45      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
46    ],
47    "source": "KEYBOARD | GAMEPAD",
48    "events": [
49      {"action": "DOWN", "keycode": "BUTTON_Y"},
50      {"action": "UP", "keycode": "BUTTON_Y"}
51    ]
52  },
53
54  {
55    "name": "Press BUTTON_L1",
56    "reports": [
57      [0x01, 0x10, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
58      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
59    ],
60    "source": "KEYBOARD | GAMEPAD",
61    "events": [
62      {"action": "DOWN", "keycode": "BUTTON_L1"},
63      {"action": "UP", "keycode": "BUTTON_L1"}
64    ]
65  },
66
67  {
68    "name": "Press BUTTON_R1",
69    "reports": [
70      [0x01, 0x20, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
71      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
72    ],
73    "source": "KEYBOARD | GAMEPAD",
74    "events": [
75      {"action": "DOWN", "keycode": "BUTTON_R1"},
76      {"action": "UP", "keycode": "BUTTON_R1"}
77    ]
78  },
79
80  {
81    "name": "Press BUTTON_THUMBL",
82    "reports": [
83      [0x01, 0x40, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
84      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
85    ],
86    "source": "KEYBOARD | GAMEPAD",
87    "events": [
88      {"action": "DOWN", "keycode": "BUTTON_THUMBL"},
89      {"action": "UP", "keycode": "BUTTON_THUMBL"}
90    ]
91  },
92
93  {
94    "name": "Press BUTTON_THUMBR",
95    "reports": [
96      [0x01, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
97      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
98    ],
99    "source": "KEYBOARD | GAMEPAD",
100    "events": [
101      {"action": "DOWN", "keycode": "BUTTON_THUMBR"},
102      {"action": "UP", "keycode": "BUTTON_THUMBR"}
103    ]
104  },
105
106  {
107    "name": "Press POWER button (the button in the center)",
108    "reports": [
109      [0x01, 0x00, 0x81, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
110      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
111    ],
112    "source": "KEYBOARD | GAMEPAD",
113    "events": [
114      {"action": "DOWN", "keycode": "BUTTON_MODE"},
115      {"action": "UP", "keycode": "BUTTON_MODE"}
116    ]
117  },
118
119  {
120    "name": "Press BACK button (left arrow)",
121    "reports": [
122      [0x01, 0x00, 0x82, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00],
123      [0x01, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00]
124    ],
125    "source": "KEYBOARD | GAMEPAD",
126    "events": [
127      {"action": "DOWN", "keycode": "BACK"},
128      {"action": "UP", "keycode": "BACK"}
129    ]
130  }
131]
132