Skip to content

Commit

Permalink
fix(devices): Ignore devices that aren't specified.
Browse files Browse the repository at this point in the history
- We should ignore anything we don't have a specific configuration for until we have more implementations for unusual devices. This will prevent loads of bug reports of controllers not working.
  • Loading branch information
pastaq committed Jun 15, 2024
1 parent 832f870 commit 7522f50
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions rootfs/usr/share/inputplumber/devices/69-ignore_generic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/composite_device_v1.json
# Schema version number
version: 1

# The type of configuration schema
kind: CompositeDevice

# Name of the composite device mapping
name: Ignore Gamepads

# Only use this profile if *any* of the given matches matches. If this list is
# empty, then the source devices will *always* be checked.
# /sys/class/dmi/id/product_name
matches: []

# 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.
source_devices:
- group: gamepad
ignore: true
evdev:
handler: js*

0 comments on commit 7522f50

Please sign in to comment.