ShadowBlip / InputPlumber

Open source input router and remapper daemon for Linux
GNU General Public License v3.0
25 stars 6 forks source link

Use udev properties for evdev classification #132

Open ShadowApex opened 6 days ago

ShadowApex commented 6 days ago

Currently all evdev devices captured by InputPlumber assume that the device is gamepad-like when translating events. We should instead use udevadm info to look for device class identifiers to translate inputs based on their device class.

pastaq commented 6 days ago

I think we should instead look into using udev-rs to find and init the source devices in the first place, then that value can be an inherent property. This will also allow us to resolve other issues such as #76 and #82, as we'll have access to those properties as well.