Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rootfs/usr/lib/udev/hwdb.d/60-inputplumber-autostart.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ dmi:*svnGPD:pnG1618-05:*
dmi:*svnGPD:pnG1619-04:*
# GPD Win Mini
dmi:*svnGPD:pnG1617-01:*
# KONKR Fit
dmi:*svnKONKR:pnKONKRFIT:*
# Lenovo Legion Go
dmi:*svnLENOVO:pn83E1:*
# Lenovo Legion Go S
Expand Down
62 changes: 62 additions & 0 deletions rootfs/usr/share/inputplumber/capability_maps/konkr_type1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/capability_map_v1.json
# Schema version number
version: 1

# The type of configuration schema
kind: CapabilityMap

# Name for the device event map
name: KONKR Type 1

# Unique identifier of the capability mapping
id: konkr1

# List of mapped events that are activated by a specific set of activation keys.
mapping:
- name: LC
source_events:
- keyboard: KeyF21
target_event:
gamepad:
button: LeftTop
- name: RC
source_events:
- keyboard: KeyF22
target_event:
gamepad:
button: RightTop
- name: Quick Access
source_events:
- keyboard: KeyF23
target_event:
gamepad:
button: QuickAccess
- name: Quick Access 2
source_events:
- keyboard: KeyLeftCtrl
- keyboard: KeyF23
target_event:
gamepad:
button: QuickAccess2
- name: Keyboard
source_events:
- keyboard: KeyLeftMeta
- keyboard: KeyD
target_event:
gamepad:
button: Keyboard
- name: LeftPaddle2
source_events:
- keyboard: KeyL
target_event:
gamepad:
button: LeftPaddle2
- name: RIghtPaddle2
source_events:
- keyboard: KeyR
target_event:
gamepad:
button: RightPaddle2

# List of events to filter from the source devices
filtered_events: []
13 changes: 13 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- Keyboard:KeyD
- Keyboard:KeyF15
- Keyboard:KeyF16
- Keyboard:KeyF17
- Keyboard:KeyF18
- Keyboard:KeyLeftMeta
- Keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: "{i2c-BMI0160:00,bmi260}"
Expand Down
12 changes: 12 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyDelete
- keyboard:KeyEsc
- keyboard:KeyLeftMeta
- keyboard:KeyO
- keyboard:KeyRightAlt
- keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: i2c-10EC5280:00
Expand Down
16 changes: 16 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ matches:
- dmi_data:
product_name: AYANEO GEEK 1S
sys_vendor: AYANEO
- dmi_data:
product_name: SuiPlay0X1
sys_vendor: Mysten Labs, Inc.

# One or more source devices to combine into a single virtual device. The events
# from these devices will be watched and translated according to the key map.
Expand All @@ -43,6 +46,19 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- Keyboard:KeyD
- Keyboard:KeyF15
- Keyboard:KeyF16
- Keyboard:KeyF17
- Keyboard:KeyF18
- Keyboard:KeyLeftMeta
- Keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: "{i2c-BMI0160:00,bmi260}"
Expand Down
20 changes: 20 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,32 @@ source_devices:
name: AYANEO COMPOSITE DEVICE
phys_path: usb-0000:c7:00.0-1/input1
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyDelete
- keyboard:KeyG
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- keyboard:KeyRightAlt
- keyboard:KeyRightCtrl
- keyboard:KeySysrq
# All devices
- group: gamepad
evdev:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyVolumeDown
- keyboard:KeyVolumeUp
- group: imu
iio:
name: bmi323-imu
Expand Down
12 changes: 12 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyF10
- keyboard:KeyF11
- keyboard:KeyF12
- keyboard:KeyLeftMeta
- keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
#- group: imu #TODO:reenable after we switch from polling
# iio:
# name: "{i2c-BMI0160:00,bmi260}"
Expand Down
11 changes: 11 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: "{i2c-BMI0160:00,bmi260}"
Expand Down
11 changes: 11 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: bmi323-imu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: bmi323-imu
Expand Down
11 changes: 11 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: "{i2c-BMI0160:00,bmi260}"
Expand Down
40 changes: 35 additions & 5 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_flip_1s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,48 @@ source_devices:
name: AYANEO COMPOSITE DEVICE
phys_path: usb-0000:c7:00.0-4/input1
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyDelete
- keyboard:KeyG
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- keyboard:KeyRightAlt
- keyboard:KeyRightCtrl
- keyboard:KeySysrq
- group: keyboard
evdev:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyDelete
- keyboard:KeyG
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- keyboard:KeyRightAlt
- keyboard:KeyRightCtrl
- keyboard:KeySysrq
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: bmi323-imu
mount_matrix:
x: [0, 1, 0]
y: [0, 0, 1]
z: [1, 0, 0]
name: bmi323-imu
mount_matrix:
x: [0, 1, 0]
y: [0, 0, 1]
z: [1, 0, 0]
- group: touchscreen
udev:
properties:
Expand Down
12 changes: 11 additions & 1 deletion rootfs/usr/share/inputplumber/devices/50-ayaneo_kun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,19 @@ source_devices:
handler: event*
- group: keyboard
evdev:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyD
- keyboard:KeyG
- keyboard:KeyLeftAlt
- keyboard:KeyLeftMeta
- keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: "{i2c-BMI0160:00,bmi260}"
Expand Down
14 changes: 14 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyApostrophe
- keyboard:KeyCopy
- keyboard:KeyD
- keyboard:KeyF12
- keyboard:KeyKpEnter
- keyboard:KeyLeft
- keyboard:KeyLeftMeta
- keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: i2c-BMI0160:00
Expand Down
11 changes: 11 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_slide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
events:
exclude:
- "*"
include:
- keyboard:KeyLeftAlt
- keyboard:KeyLeftCtrl
- keyboard:KeyLeftMeta
- keyboard:KeyO
- keyboard:KeyRightCtrl
- Keyboard:KeyVolumeDown
- Keyboard:KeyVolumeUp
- group: imu
iio:
name: "{i2c-BMI0160:00,bmi260}"
Expand Down
Loading
Loading