Skip to content

Commit

Permalink
feat(Manager): add configuration option to auto-manage devices and DB…
Browse files Browse the repository at this point in the history
…us property to toggle all device management
  • Loading branch information
ShadowApex committed Sep 29, 2024
1 parent bcc8d6f commit b1936b9
Show file tree
Hide file tree
Showing 36 changed files with 379 additions and 11 deletions.
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-anbernic_win600.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ source_devices:
phys_path: isa0060/serio0/input0
handler: event*

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-aokzoe_a1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ source_devices:
y: [0, 0, -1]
z: [1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ source_devices:
y: [0, 0, -1]
z: [1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ source_devices:
y: [0, 0, -1]
z: [1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ source_devices:
# y: [0, 0, -1]
# z: [1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 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 @@ -44,6 +44,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 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 @@ -55,6 +55,13 @@ source_devices:
y: [0, 0, 1]
z: [-1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ source_devices:
y: [0, 0, 1]
z: [-1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ source_devices:
y: [0, 0, -1]
z: [1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_kun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ source_devices:
y: [0, 0, -1]
z: [1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_slide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ source_devices:
y: [0, 0, -1]
z: [0, 1, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ source_devices:
y: [0, 0, -1]
z: [0, 1, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayn_loki_zero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ source_devices:
# y: [0, 0, -1]
# z: [0, 1, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-gpd_win3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xbox-elite
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xbox-elite
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-gpd_winmax2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xbox-elite
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-gpd_winmini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xbox-elite
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-legion_go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ source_devices:
y: [0, 0, -1]
z: [-1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xbox-elite
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-msi_claw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ source_devices:
y: [0, 0, -1]
z: [-1, 0, 0]

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xbox-elite
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-onexplayer_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
7 changes: 7 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-onexplayer_amd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ source_devices:
phys_path: isa0060/serio0/input0
handler: event*

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ source_devices:
iio:
name: i2c-BMI0160:00

# Optional configuration for the composite device
options:
# If true, InputPlumber will automatically try to manage the input device. If
# this is false, InputPlumber will not try to manage the device unless an
# external service enables management of the device. Defaults to 'false'
auto_manage: true

# The target input device(s) that the virtual device profile can use
target_devices:
- xb360
Expand Down
Loading

0 comments on commit b1936b9

Please sign in to comment.