News for hackers. Stuff that matters.
Re:A Simple Text Editor Foot Pedal by listrophy on Wednesday August 07, 2013 @02:19PM (#6174573)
Is there a way to send data back to the Teensy? That way you could have a program on your computer that tells it "hey, I'm in vim now, so use 'i' and 'Ctrl-['" or "hey, I'm in emacs now, so just be 'Left-Alt' now".

If it's "just a keyboard" and doesn't normally support that, I've seen hacks that utilize the Caps/Scroll/Num lights as inputs back into a keyboard...

Re:A Simple Text Editor Foot Pedal by gizmo686 on Wednesday August 07, 2013 @03:20PM (#6175003)
I'm not sure if there is a way to send signals back to the device. But, it should be trivial to do what you describe on the operating system level. Ignoring the possibility of specifically looking for that keyboard, you could just have is send obscure keys that you would never type. Then you can just re-map them on the OS level whenever you want to.