Volume control via HID
-
- Member
- Posts: 11
- Joined: Tue Nov 15, 2022 9:58 am
Volume control via HID
How can I use the button control windows system's volume ?
Last edited by pangdi on Tue Nov 22, 2022 9:08 am, edited 1 time in total.
-
Verified
- XCore Legend
- Posts: 1117
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
This should be as easy as setting HID_CONTROLS to 1 and then coding in the buttons to set the correct bits of the HID report
Technical Director @ XMOS. Opinions expressed are my own
-
- Member
- Posts: 11
- Joined: Tue Nov 15, 2022 9:58 am
Thanks Ross! I will try.
-
- Member
- Posts: 11
- Joined: Tue Nov 15, 2022 9:58 am
All things are ready. But it have no effect.
You do not have the required permissions to view the files attached to this post.
-
- Member
- Posts: 11
- Joined: Tue Nov 15, 2022 9:58 am
I can control the volume in Win10, but when they are not synchronized. For example, the windows volume can't be raised if the xmos' volume reach the maximum. Just like xmos volume is 100, but windows volume is 80. How about the reason?
<mod edit: moved to existing thread>
<mod edit: moved to existing thread>
-
Verified
- XCore Legend
- Posts: 1117
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
I would check that if you simply set hidData[0] = 0x8 without any other logic the volume is increased as you expect
Technical Director @ XMOS. Opinions expressed are my own