Page 1 of 3
Keyboard volume control
Posted: Fri Aug 01, 2025 10:20 am
by alex124.rh
Hi there,
I noticed there’s no key mapped to volume, and i wanted to use this to build a link to a canbus command for steering wheel controls. And is there a way to press and hold the volume button to quickly go up and down with volume.
Really loving this software and excited to see it grow.
Re: Keyboard volume control
Posted: Fri Aug 01, 2025 10:41 am
by hudiy
No, there is no mapping for volume but you can use actions to trigger
- Volume down (output_volume_down)
- Volume up (output_volume_up)
- Mute (toggle_output_muted)
- Mic volume up (input_volume_up)
- Mic volume down (input_volume_down)
- Mic mute (toggle_input_muted)
These actions control the volume of the sink and source defined in your configuration:
volumeSinkName and
sourceName in
https://github.com/wiboma/hudiy/blob/ma ... n.md#sound.
You can trigger these actions via the API.
Example usage in Python:
https://github.com/wiboma/hudiy/blob/ma ... hAction.py
Api reference:
https://github.com/wiboma/hudiy/blob/ma ... proto#L723
In short, you can write your own script or application (e.g. in Python) that listens for CAN bus events and sends a
MESSAGE_DISPATCH_ACTION with the appropriate action when a matching CAN signal is received.
There are many predefined actions available that can be triggered this way. You can also dispatch your own actions.
List of predefined actions is available at:
https://github.com/wiboma/hudiy?tab=rea ... ed-actions
Re: Keyboard volume control
Posted: Fri Aug 01, 2025 11:03 am
by alex124.rh
Thanks very much for the info, I’ll give this a try. I reckon I could attempt the same with a rotary encoder too.
What was your thought about the press and hold volume in the shortcuts area?
Re: Keyboard volume control
Posted: Fri Aug 01, 2025 11:21 am
by hudiy
In the shortcuts panel, all buttons only support the press event. If you'd like to implement a press and hold feature, you can easily do it using HTML/JavaScript. In your custom control, you can add the required buttons (e. g. as divs) and detect press/hold in JavaScript using
addEventListener on the specific button. You can then add this control as a widget on the Dashboard or as an overlay, and position the overlay over (hover) the shortcuts panel or any other suitable position (using x, y
https://github.com/wiboma/hudiy?tab=rea ... figuration).
Re: Keyboard volume control
Posted: Fri Aug 01, 2025 11:28 am
by alex124.rh
thanks for this, will add to my to do list, how do i see all the icons in the font that contains them? i tried to open the file but it didn’t work. thanks.
Re: Keyboard volume control
Posted: Fri Aug 01, 2025 11:29 am
by alex124.rh
thanks for this, will add to my to do list, how do i see all the icons in the font that contains them? i tried to open the file but it didn’t work. thanks.

Re: Keyboard volume control
Posted: Fri Aug 01, 2025 11:32 am
by hudiy
List of glyphs in e. g. Material Symbols is available at
https://fonts.google.com/icons
In your HTML/JavaScript you have to deliver the font by yourself (like e. g. for Roboto in
https://github.com/wiboma/hudiy/blob/ma ... idget.html) or you can simply use images for icons.
Re: Keyboard volume control
Posted: Fri Aug 01, 2025 11:53 am
by alex124.rh
I see thank you,
I just wondered how to use the same ones as they appear more rounded as they appear stock.
Re: Keyboard volume control
Posted: Thu Aug 07, 2025 2:39 pm
by wkl3968
basically I have decoded the LIN BUS from the car controller and I',m using an arduino to emulate like a USB keyboard. is there a keyboard key stroke for commanding the hudiy like OpenAuto Pro? How would should I approach this?
Re: Keyboard volume control
Posted: Thu Aug 07, 2025 3:13 pm
by hudiy
wkl3968 wrote: Thu Aug 07, 2025 2:39 pm
basically I have decoded the LIN BUS from the car controller and I',m using an arduino to emulate like a USB keyboard. is there a keyboard key stroke for commanding the hudiy like OpenAuto Pro? How would should I approach this?
On Wayland (the default window system in Bookworm), keyboard emulation is very limited.
Compared to X11, there’s no straightforward way to achieve this.
The best approach would be to move your LIN BUS decoder program to the Raspberry Pi and use the API to send the appropriate commands to Hudiy.
Alternatively, you could send the decoded signals from the Arduino to the Raspberry Pi via the serial port.
Then, on the Raspberry Pi, you could read these signals from the serial interface and map them to the appropriate actions using the Hudiy API.