I have a Microsoft Media keyboard that has a number of unused special-purpose keys.
I also have a KVM that has an annoyingly long 6 step hotkey sequence to simply change ports.
I want to build an inline Teensy device that will simply pass through all data from a USB keyboard, except for the scancodes of those few special purpose keys that will be remapped to the KVM hotkey sequence.
What is the best approach?
I saw the "Keyboard Redneckifier" at https://www.pjrc.com/teensy/projects.html, but unfortunately there is nothing there but photos.
I found good examples here http://pjrc.com/teensy/usb_keyboard.html of the code to look like a keyboard when plugged into a computer, but I have not found examples of the code that will receive the data from an attached keyboard. Luke Valenty appears to have accomplished that with some type of attachment, but there are no details.
I also have a KVM that has an annoyingly long 6 step hotkey sequence to simply change ports.
I want to build an inline Teensy device that will simply pass through all data from a USB keyboard, except for the scancodes of those few special purpose keys that will be remapped to the KVM hotkey sequence.
What is the best approach?
I saw the "Keyboard Redneckifier" at https://www.pjrc.com/teensy/projects.html, but unfortunately there is nothing there but photos.
I found good examples here http://pjrc.com/teensy/usb_keyboard.html of the code to look like a keyboard when plugged into a computer, but I have not found examples of the code that will receive the data from an attached keyboard. Luke Valenty appears to have accomplished that with some type of attachment, but there are no details.