File tree Expand file tree Collapse file tree 4 files changed +94
-54
lines changed
Expand file tree Collapse file tree 4 files changed +94
-54
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ dmi:*svnONE-NETBOOK:pnONEXPLAYERminiA07:*
9191dmi:*svnONE-NETBOOK:pnONEXPLAYERMiniPro:*
9292# OneXPlayer OneXFly
9393dmi:*svnONE-NETBOOK:pnONEXPLAYERF1:*
94+ dmi:*svnONE-NETBOOK:pnONEXPLAYERF1EVA-01:*
95+ dmi:*svnONE-NETBOOK:pnONEXPLAYERF1OLED:*
9496dmi:*svnONE-NETBOOK:pnONEXPLAYERF1Pro:*
9597# OneXPlayer X1
9698dmi:*svnONE-NETBOOK:pnONEXPLAYERX1A:*
Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/capability_map_v1.json
2+ # Schema version number
3+ version : 1
4+
5+ # The type of configuration schema
6+ kind : CapabilityMap
7+
8+ # Name for the device event map
9+ name : OneXPlayer Type 7
10+
11+ # Unique identifier of the capability mapping
12+ id : oxp7
13+
14+ # List of mapped events that are activated by a specific set of activation keys.
15+ mapping :
16+ - name : Turbo
17+ source_events :
18+ - keyboard : KeyLeftCtrl
19+ - keyboard : KeyLeftAlt
20+ - keyboard : KeyLeftMeta
21+ target_event :
22+ gamepad :
23+ button : QuickAccess
24+ - name : KB (Short Press)
25+ source_events :
26+ - keyboard : KeyRightCtrl
27+ - keyboard : KeyLeftMeta
28+ - keyboard : KeyO
29+ target_event :
30+ gamepad :
31+ button : Keyboard
32+ - name : Orange Button (Short Press)
33+ source_events :
34+ - keyboard : KeyLeftMeta
35+ - keyboard : KeyD
36+ target_event :
37+ gamepad :
38+ button : Guide
39+ - name : Orange Button (Long Press)
40+ source_events :
41+ - keyboard : KeyLeftMeta
42+ - keyboard : KeyG
43+ target_event :
44+ gamepad :
45+ button : QuickAccess2
46+ - name : Turbo + Orange Button
47+ source_events :
48+ - keyboard : KeyLeftMeta
49+ - keyboard : KeySysrq
50+ target_event :
51+ gamepad :
52+ button : Screenshot
53+ - name : KB + Orange Button
54+ source_events :
55+ - keyboard : KeyRightCtrl
56+ - keyboard : KeyRightAlt
57+ - keyboard : KeyDelete
58+ target_event :
59+ keyboard : KeyF13
60+ - name : M2
61+ source_events :
62+ - gamepad :
63+ button : Guide
64+ target_event :
65+ gamepad :
66+ button : RightPaddle1
67+
68+ # List of events to filter from the source devices
69+ filtered_events : []
Original file line number Diff line number Diff line change @@ -18,6 +18,15 @@ matches:
1818 - dmi_data :
1919 product_name : ONEXPLAYER F1
2020 sys_vendor : ONE-NETBOOK
21+ - dmi_data :
22+ product_name : ONEXPLAYER F1 EVA-01
23+ sys_vendor : ONE-NETBOOK
24+ - dmi_data :
25+ product_name : ONEXPLAYER F1 OLED
26+ sys_vendor : ONE-NETBOOK
27+ - dmi_data :
28+ product_name : ONEXPLAYER F1Pro
29+ sys_vendor : ONE-NETBOOK
2130
2231# One or more source devices to combine into a single virtual device. The events
2332# from these devices will be watched and translated according to the key map.
@@ -27,11 +36,24 @@ source_devices:
2736 name : Microsoft X-Box 360 pad
2837 phys_path : usb-0000:c4:00.3-4/input0
2938 handler : event*
39+ - group : gamepad
40+ evdev :
41+ name : Microsoft X-Box 360 pad
42+ phys_path : usb-0000:c7:00.0-4/input0
43+ handler : event*
3044 - group : keyboard
3145 evdev :
3246 name : AT Translated Set 2 keyboard
3347 phys_path : isa0060/serio0/input0
3448 handler : event*
49+ - group : gamepad
50+ udev :
51+ attributes :
52+ - name : port
53+ value : " 0x3E8"
54+ sys_name : " ttyS*"
55+ subsystem : tty
56+
3557 - group : imu
3658 iio :
3759 name : i2c-BMI0160:00
@@ -50,4 +72,4 @@ target_devices:
5072 - keyboard
5173
5274# The ID of a device event mapping in the 'event_maps' folder
53- capability_map_id : oxp3
75+ capability_map_id : oxp7
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments