Skip to content

Commit 7ee3341

Browse files
authored
Merge pull request #36 from TournamentStreamHelper/revamp
Revamped icon handling
2 parents f30dc11 + 416ce89 commit 7ee3341

File tree

38 files changed

+473
-0
lines changed

38 files changed

+473
-0
lines changed

.schema/controller.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
},
5252
"uniqueItems": true
5353
},
54+
"scroll_wheel": {
55+
"type": "boolean",
56+
"title": "Scroll Wheel",
57+
"description": "Whether or not the controller has a scroll wheel"
58+
},
5459
"digital_sticks": {
5560
"type": [
5661
"array",

.utilities/generate_controller_tables.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def process_functions(functions:dict, level=1):
236236
237237
| Feature | Value |
238238
| :---: | :---: |
239+
| Scroll Wheel | {bool_to_emoji(functions.get('scroll_wheel', False))} |
239240
| Macro | {bool_to_emoji(functions['macro'])} |
240241
| Turbo | {bool_to_emoji(functions['turbo'])} |
241242
| Accelerometer | {bool_to_emoji(functions['accelerometer'])} |

accessibility/icon.png

564 Bytes
Loading
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "Microsoft Xbox Adaptive Controller",
3+
"functions": {
4+
"analog_sticks": null,
5+
"digital_sticks": null,
6+
"action_buttons": [
7+
{
8+
"name": "A",
9+
"analog": false
10+
},
11+
{
12+
"name": "B",
13+
"analog": false
14+
}
15+
],
16+
"menu_buttons": ["View", "Menu"],
17+
"system_buttons": ["Guide"],
18+
"other_buttons": ["Sync"],
19+
"trackpads": null,
20+
"touch_screens": null,
21+
"directional_buttons": [
22+
{
23+
"set": ["Up", "Down", "Left", "Right"],
24+
"socd_prevention": {
25+
"hardware": true,
26+
"software": null
27+
}
28+
}
29+
],
30+
"gyroscope": false,
31+
"accelerometer": false,
32+
"ir_reciever": false,
33+
"extension_ports": 1,
34+
"headset_port": true,
35+
"speaker": false,
36+
"microphone": false,
37+
"cable": {
38+
"interface": "USB-C",
39+
"removable": true
40+
},
41+
"bluetooth": true,
42+
"2_4ghz": false,
43+
"rumble": "standard",
44+
"digital_to_analog_conversion": null,
45+
"pc_xinput": true,
46+
"pc_steaminput": true,
47+
"native_consoles": ["xb1", "xbs"],
48+
"macro": false,
49+
"turbo": false
50+
}
51+
}
564 Bytes
Loading
57.2 KB
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "Microsoft"
3+
}

keyboard/generic/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "Generic brand"
3+
}

0 commit comments

Comments
 (0)