I'm developing a USB/bluetooth keyboard based on the Teensy 3. I've managed to get most things working, but there's two issues I've noticed.
It looks like setting keyboard_media_keys doesn't work properly in Windows. I can get keypresses for Play/Pause to register in Linux, but not Windows 10. Digging through the forums a little bit, it looks like this has been known for awhile. I'm not very clear on why this doesn't work on Windows. It looks like the HID report descriptor for KEYBOARD_INTERFACE does include a Consumer usage page, but I admit that's pretty much the extent of my knowledge of the USB code or how it work.s
The second issue is that the Teensy doesn't appear to be able to wake the computer from sleep on keypress. I'm not sure what magic happens to make that work, but I should be able to press any key on the keyboard while the host computer is asleep to wake it.
(Embarrassing) code is here: https://github.com/Maleckii/armkeys/tree/devel
It looks like setting keyboard_media_keys doesn't work properly in Windows. I can get keypresses for Play/Pause to register in Linux, but not Windows 10. Digging through the forums a little bit, it looks like this has been known for awhile. I'm not very clear on why this doesn't work on Windows. It looks like the HID report descriptor for KEYBOARD_INTERFACE does include a Consumer usage page, but I admit that's pretty much the extent of my knowledge of the USB code or how it work.s
The second issue is that the Teensy doesn't appear to be able to wake the computer from sleep on keypress. I'm not sure what magic happens to make that work, but I should be able to press any key on the keyboard while the host computer is asleep to wake it.
(Embarrassing) code is here: https://github.com/Maleckii/armkeys/tree/devel