When my computer suddenly starts being weird and ignoring mouse buttons and keystrokes, I pull this Oz looking key out of my pocket and turn the keyswitch. It reruns my xmodmap & xkbset commands from my .xsession startup file.
All fixed.
(This only happens once or twice a year, but it can be such a hassle to fix by hand...)
#Geek
silverwizard likes this.
reshared this
mhoye
in reply to Dave Fischer • • •Dave Fischer
in reply to mhoye • • •@mhoye I use a generic "usb joystick interface board" to wire up switches/buttons/etc. That's connected to a raspberry pi running a program that just watches for open/closed circuit changes, and launches shell scripts as commanded. Very simple. (One funny thing: I use a lot of what I call "flip flop switches": a toggle switch used as a button. Flip it either way, it doesn't matter, flipping it does the thing.)
amazon.com/EG-STARTS-Encoder-C…
silverwizard
in reply to Dave Fischer • •