Skip to content
Merged
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
37 changes: 4 additions & 33 deletions rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ matches:
- dmi_data:
board_name: RC71L
sys_vendor: ASUSTeK COMPUTER INC.
- dmi_data:
board_name: RC73YA
sys_vendor: ASUSTeK COMPUTER 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 @@ -33,31 +36,9 @@ source_devices:
vendor_id: 045e
product_id: 028e
handler: event*
- group: keyboard
evdev:
name: ASUS ROG Ally Config
vendor_id: 0b05
product_id: 1abe
handler: event*
- group: keyboard
unique: false
evdev:
name: Asus Keyboard
vendor_id: 0b05
product_id: 1abe
handler: event*
# New driver group name from `asus_ally_hid`
- group: mouse
evdev:
name: ROG Ally Mouse
vendor_id: 0b05
product_id: 1abe
handler: event*
# New driver group name from `asus_ally_hid`
- group: keyboard
- group: gamepad
unique: false
evdev:
name: ROG Ally Keyboard
vendor_id: 0b05
product_id: 1abe
handler: event*
Expand All @@ -68,19 +49,10 @@ source_devices:
x: [1, 0, 0]
y: [0, -1, 0]
z: [0, 0, -1]

#RGB
- group: led
udev:
sys_name: ally:rgb:joystick_rings
subsystem: leds
#- group: touchscreen
# udev:
# properties:
# - name: ID_INPUT_TOUCHSCREEN
# value: "1"
# sys_name: "event*"
# subsystem: input

# Optional configuration for the composite device
options:
Expand All @@ -94,7 +66,6 @@ target_devices:
- xbox-elite
- mouse
- keyboard
#- touchscreen

# The ID of a device event mapping in the 'event_maps' folder
capability_map_id: aly1
49 changes: 3 additions & 46 deletions rootfs/usr/share/inputplumber/devices/50-rog_ally_x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ matches:
- dmi_data:
board_name: RC72LA
sys_vendor: ASUSTeK COMPUTER INC.
- dmi_data:
board_name: RC73XA
sys_vendor: ASUSTeK COMPUTER 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 @@ -33,46 +36,8 @@ source_devices:
product_id: 0x1b4c
interface_num: 5
- group: gamepad
evdev:
name: ASUS ROG Ally X Gamepad
vendor_id: 0b05
product_id: 1b4c
handler: event*
- group: gamepad # Gamepad in dinput mode without `asus_ally_hid` driver
udev:
attributes:
- name: name
value: "Asus Keyboard"
- name: "id/product"
value: "1b4c"
properties:
- name: ID_INPUT_JOYSTICK
value: "1"
subsystem: input
sys_name: event*
capability_map_id: aly2
- group: keyboard
unique: false
evdev:
name: Asus Keyboard
vendor_id: 0b05
product_id: 1b4c
handler: event*
- group: mouse # New driver group name from `asus_ally_hid`
evdev:
name: "ROG Ally Mouse"
vendor_id: 0b05
product_id: 1b4c
handler: event*
- group: keyboard # New driver group name from `asus_ally_hid`
evdev:
name: "ROG Ally Keyboard"
vendor_id: 0b05
product_id: 1b4c
handler: event*
- group: gamepad # New driver group name from `asus_ally_hid`
evdev:
name: ROG Ally X Gamepad
vendor_id: 0b05
product_id: 1b4c
handler: event*
Expand All @@ -87,13 +52,6 @@ source_devices:
udev:
sys_name: ally:rgb:joystick_rings
subsystem: leds
#- group: touchscreen
# udev:
# properties:
# - name: ID_INPUT_TOUCHSCREEN
# value: "1"
# sys_name: "event*"
# subsystem: input

# Optional configuration for the composite device
options:
Expand All @@ -107,7 +65,6 @@ target_devices:
- xbox-elite
- mouse
- keyboard
#- touchscreen

# The ID of a device event mapping in the 'event_maps' folder
capability_map_id: aly1
100 changes: 0 additions & 100 deletions rootfs/usr/share/inputplumber/devices/50-rog_xbox_ally.yaml

This file was deleted.

113 changes: 0 additions & 113 deletions rootfs/usr/share/inputplumber/devices/50-rog_xbox_ally_x.yaml

This file was deleted.