Sample Header Ad - 728x90

Running a script based on raw events from a specific HID?

3 votes
3 answers
367 views
bit of a strange issue for you. I have an old 2-in-1 laptop tablet thing that works well enough, except the driver for the touchscreen occasionally crashes, leaving it unusable. I have a simple script to restart it, but when it's not connected to the keyboard this can be a pain. My proposed solution is to run the script when I press both physical volume keys simultaneously (these buttons being the only other input device that I will reliably have connected). I am on Fedora Wayland. Does this seem feasible, and if so, how might it be done?
Asked by Gridzbi Spudvetch (65 rep)
Apr 6, 2025, 11:03 PM
Last activity: Apr 11, 2025, 08:32 AM