Moode Forum
volume control by USB keyboard or volume knob - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: volume control by USB keyboard or volume knob (/showthread.php?tid=2154)

Pages: 1 2 3


RE: volume control by USB keyboard or volume knob - Norbert - 02-08-2020

You can also use a regular mouse to do this.


When triggerhappy runs connect a mouse and then start
Code:
thd --dump /dev/input/event*


You can see which buttons triggerhappy recognizes and then enter the corresponding moode commands.
Supported are: wheel button, left and right mouse button, wheel (maybe for volume?) And the x / y coordinates.

Best regards
Norbert


RE: volume control by USB keyboard or volume knob - rabbitod - 02-09-2020

Can someone post a picture of this knob with their pi? I’m curious to the size of this knob! Thanks!


RE: volume control by USB keyboard or volume knob - Tim Curtis - 02-09-2020

It's about same rectangular size as a Pi.

[attachment=993]


RE: volume control by USB keyboard or volume knob - mtnbrit - 02-10-2020

Tim, would you consider including triggerhappy into moOde, along with a default set of media key bindings? It could be enabled with a menu option perhaps? As of right now unless im mistaken, this hand-added functionality would not persist over a system update?


RE: volume control by USB keyboard or volume knob - Tim Curtis - 02-10-2020

I'll add the feature to the TODO list.

Your hand-install won't get overwritten by an in-place update and maybe I can add triggerhappy (disabled) + the bindings conf to upcoming 6.4.2 release. Then you just do

systemctl enable triggerhappy
systemctl start triggerhappy


RE: volume control by USB keyboard or volume knob - rabbitod - 02-14-2020

(02-10-2020, 02:48 PM)Tim Curtis Wrote: I'll add the feature to the TODO list.

Your hand-install won't get overwritten by an in-place update and maybe I can add triggerhappy (disabled) + the bindings conf to upcoming 6.4.2 release. Then you just do

systemctl enable triggerhappy
systemctl start triggerhappy

Thank you! I just got mine in the mail and it works perfectly- now to order 2 more.....

Tim, you should have an Amazon affiliate links for this stuff!


RE: volume control by USB keyboard or volume knob - TheOldPresbyope - 02-16-2020

It took approximately 2 minutes from the moment the Amazon driver delivered the box for me to have the Drok control working with moOde. 

The control has a great look and feel to it. I'm surprised it is so inexpensive. Wish I'd had one for a different project where I fooled around with a bare digital encoder and was never happy with the result.

Many thanks @mtnbrit for mentioning it and a tip of the hat to @Tim Curtis for so quickly integrating triggerhappy.

Regards,
Kent


RE: volume control by USB keyboard or volume knob - Norbert - 02-16-2020

I bought this unit. Because I needed  a longer cable. This here is 2.1m (72") long!
It's a bit smaller, but the button is a little bigger than the Drok. It's also going great.

One thing: I had previously tested triggerhappy with a regular mouse. When changing the volume with the mouse
wheel, I had to turn very carefully because otherwise the volume jumped back to 1. Better than the other way ... Angel

The controller mentioned above does this even if I turn the button to the right very(!) quickly.

Is that also the case with your controllers?

Best regards
Norbert


RE: volume control by USB keyboard or volume knob - TheOldPresbyope - 02-16-2020

@Norbert

Yeah, it just happened to me. 

The Drok has two speed modes: the default slow mode and an alternative fast mode. The phenomenon you report occurs with both but much more often with the fast mode. Haven’t had a chance to see what the output looks like or to dig into triggerhappy to see what’s up.

Regards,
Kent


RE: volume control by USB keyboard or volume knob - Tim Curtis - 02-16-2020

Prolly less than robust debounce in the device firmware.