Could someone please tell me what is wrong with my code below? I've been reading through this book on SDL (Focus on SDL) and it keeps referencing members and functions and stuff without giving specific examples of how to use them. It's really frustrating.
The book mentions that you can use SDLMod to see if the user is pressing down any modifier keys, but there are no actual example programs in the book that do this, so I tried to figure it out myself. I just replaced "sym" with "mod" to get the modifier keys, but that didn't work. I'm just trying to determine if the user is pressing down ctrl-r or ctrl-t.