Original Post
I'm planning on implementing undo and redo functions in my program, and I need to use the key combinations ctrl+z and ctrl+y, respectively. How do I check events for key combinations in SDL? Edit: To clarify, I'm using SDL_PollEvent to capture an event, and using a switch stucture to implement each event type. In this case, I'm capturing SDL_KEYDOWN, and using if (e_Event.key.keysym.sym == keyname) [Edited by - Nahrix on March 5, 2005 12:20:46 PM]