Skip to content

Media keys not being passed through, at least to Windows hosts. #4

@a-singer

Description

@a-singer

Hi,

I note that, though the media keys are mapped in main.go, and though I mapped a few more of them, none are passed through to the host or have any effect on the host when the host is either Windows 7 or 10 at least. I have the mapping as:

113: 127, // Mute
114: 129, // VolDn
115: 128, // VolUp
164: 232, // PlayPause
165: 234, // PreviousTrack
163: 233, // NextTrack

and that mapping, combining my own mapping and that which was already there, seems to correspond to the USB HID specification and the keys received from the Bluetooth board. However, I can hit these keys as much as I like but nothing happens on the host. I have tried several keyboard code display programs but they don't even seem to see the multimedia keys. I understand, from the research, that this may require some sort of separate descriptor to pass multimedia keys to Windows? I'm a bit lost on this so put it forward very tentatively. Any ideas would be very greatly appreciated. All the keys on my board, including my braille keyboard, seem to work except for these. The excellence of this code for unique boards can't be overestimated.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions