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.
Keyboard volume control
Re: Keyboard volume control
No, there is no mapping for volume but you can use actions to trigger
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
- 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)
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
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Keyboard volume control
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?
What was your thought about the press and hold volume in the shortcuts area?
Re: Keyboard volume control
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).
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Keyboard volume control
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.
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Keyboard volume control
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
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.
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.
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Keyboard volume control
I see thank you,
I just wondered how to use the same ones as they appear more rounded as they appear stock.
I just wondered how to use the same ones as they appear more rounded as they appear stock.
Re: Keyboard volume control
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
On Wayland (the default window system in Bookworm), keyboard emulation is very limited.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?
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.