I'm new to Teensy and have a question about USB keyboard support. I'm working through a simple project as a learning exercise and would like to use a pushbutton as my shift key. Is it possible to effectively hold the shift key with this push button and have that apply to keys pressed on another keyboard?
I've tried manually sending the modifier key using the following:
But it doesn't seem to work. Is this possible? Or are the modifier keys only applied to commands sent from Teensy and not to other keyboard devices?
Thanks!
I've tried manually sending the modifier key using the following:
Code:
Keyboard.set_modifier(MODIFIERKEY_SHIFT);
Keyboard.send_now();
But it doesn't seem to work. Is this possible? Or are the modifier keys only applied to commands sent from Teensy and not to other keyboard devices?
Thanks!