When I use a Teensy 2.0 to simulate keypresses to the computer, I use Keyboard.h's function of Keyboard.press, eg.
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.