None of these do what I need. I can’t be converting to strings and then doing string comparisons just to check keys. That is frame rate-killing.
What I need is: If you press “2” you get “2”, if you press “shift-2” you get “@” (on US keyboards, or what ever is above the 2 on other keyboards).
Or “a” returns “a” and “shift-a” returns “A”.
I’m surprised SDL doesn’t have a function or event for this. It’s so obvious, it makes me wonder if I’m just missing it.