ShadowBlip / InputPlumber

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

Feature: Add turbo takeover function for OneXPlayer devices #82

Open pastaq opened 5 months ago

pastaq commented 5 months ago

Multiple versions of OneXPlayer devices have a turbo takeover function, where the turbo button becomes a momentary key press keyboard key. We already have this button mapped as the quick access button on multiple devices but we don't have a way for this functionality to be activated when a OneXPlayer device is resolved.

Adding the ability to have config specific scripts run could also help with #76.

pastaq commented 2 months ago

Now that udev-rs is incorporated, we need a way to set properties for different devices, similar to a udev rule. We can match of subsystem, kernel, driver, and then set any ATTR/ATTRS in the device tree. Currently for the ROG Ally we are running an HIDRAW device source needlessly as a workaround for not having a one-shot interface for startup/shutdown.