[GUIDE] Keyboard shortcuts with triggerhappy

Glad it’s sure now it works also on Volumio 3.xxx! Now I’m confident to update at last…

Does this still work with the recent build of Volumio ?
I just tried to install but it seams trigger happy is already installed (fresh install).

My goal is to add a cheap ali express keyboard with 3 keys and a rotary to have previous/play/next and volume up and down. Just for simple acces.

I tried adressing the keys to the mouse function.
This works for play/pause so my board is working.

Even if i plug in a normal keyboard the code from [adaptiman] does nothing :frowning:
Im a complete noob into this so some help would be welcome :slight_smile:

Thanks in advance

sudo thd --dump /dev/input/event*

Thanks for this, managed to get it working with this dump :slight_smile:

Now how do i play a playlist from a hotkey ?
Anyone has an example ?

Just an FYI
I have a cheap Bluetooth remote control model G20BTS Mouse Remote Control.
I was able to pair it to my RPI4 and then used triggerhappy to control the volume.
Its Great!

I have one wield issue with my remote (G21 pro), which sends out movement info (REL_X REL_Y) rapidly if you move it.
Key mapping for play/next command is fine, but not for volumn controls.
I have to place the remote on the desk and press the key without shaking to make it work. Somehow it is not doing volumn control properly when REL_* are sent at the same time. It doesn’t matter if I map other keys like number keys to volumn control.
My question: why volumn control is affected but not play controls? any workaround?