How to type ' in Keyboard.h

Hello everyone,
When I use a Teensy 2.0 to simulate keypresses to the computer, I use Keyboard.h's function of, eg.'a');

However, when I try to press the ' character, I have to do this''');

Which the IDE doesn't recognize. What do I do? I tried using Keyboard.print like this


But then I can't use shift along with it. I guess I could use a bunch of if statements to combine that with shift but there has to be an easier way.


Did you want Shift-'? Wouldn't that be a double-quote?


Thanks so much! They work!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.