Skip to content
Draft
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
76 changes: 67 additions & 9 deletions rootfs/usr/share/inputplumber/devices/50-legion_go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ source_devices:
exclude:
- "*"

## HIDRAWs
# HIDRAWs
## Gamepad
## XInput - Connected 0x6182 (Go PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
Expand All @@ -82,7 +82,6 @@ source_devices:
interface_num: 2

## XInput - Connected 0x61eb (Go 2 PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
Expand All @@ -91,7 +90,6 @@ source_devices:
interface_num: 2

## DInput - Attached 0x6183 (Go PID)
# Gamepad
- group: gamepad # Dinput report
unique: false
hidraw:
Expand All @@ -106,7 +104,6 @@ source_devices:
interface_num: 2

## DInput - Attached 0x61ec (Go 2 PID)
# Gamepad
- group: gamepad # Dinput report
unique: false
hidraw:
Expand All @@ -121,7 +118,6 @@ source_devices:
interface_num: 2

## DInput - Detached 0x6184 (Go PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
Expand All @@ -130,7 +126,6 @@ source_devices:
interface_num: 2

## DInput - Detached 0x61ed (Go 2 PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
Expand All @@ -139,7 +134,6 @@ source_devices:
interface_num: 2

## FPS Mode - 0x6185 (Go PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
Expand All @@ -148,14 +142,78 @@ source_devices:
interface_num: 2

## FPS Mode - 0x61ee (Go 2 PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ee
interface_num: 2

## Touchpad
## XInput - Connected 0x6182 (Go PID)
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x6182
interface_num: 1

## XInput - Connected 0x61eb (Go 2 PID)
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61eb
interface_num: 1

## DInput - Attached 0x6183 (Go PID)
- group: gamepad # Dinput report
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x6183
interface_num: 1

## DInput - Attached 0x61ec (Go 2 PID)
- group: gamepad # Dinput report
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ec
interface_num: 1

## DInput - Detached 0x6184 (Go PID)
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x6184
interface_num: 1

## DInput - Detached 0x61ed (Go 2 PID)
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ed
interface_num: 1

## FPS Mode - 0x6185 (Go PID)
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x6185
interface_num: 1

## FPS Mode - 0x61ee (Go 2 PID)
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ee
interface_num: 1

# IMU
- group: imu
iio:
Expand Down
46 changes: 38 additions & 8 deletions rootfs/usr/share/inputplumber/devices/50-legion_go_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,17 @@ source_devices:
exclude:
- "*"

## HIDRAWs
# HIDRAWs
## Gamepad
## XInput - Connected 0x61eb (Go 2 PID)
# Gamepad
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61eb
interface_num: 2

## DInput - Attached 0x61ec (Go 2 PID)
# Gamepad
## DInput - Attached
- group: gamepad # Dinput report
unique: false
hidraw:
Expand All @@ -96,24 +95,55 @@ source_devices:
product_id: 0x61ec
interface_num: 2

## DInput - Detached 0x61ed (Go 2 PID)
# Gamepad
## DInput - Detached
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ed
interface_num: 2

## FPS Mode - 0x61ee (Go 2 PID)
# Gamepad
## FPS Mode
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ee
interface_num: 2

## Touchpad
## XInput - Connected
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61eb
interface_num: 1

## DInput - Attached
- group: gamepad # Dinput report
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ec
interface_num: 1

## DInput - Detached
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ed
interface_num: 1

## FPS Mode
- group: gamepad
unique: false
hidraw:
vendor_id: 0x17ef
product_id: 0x61ee
interface_num: 1

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
Expand Down
Loading
Loading