I'm currently playing with OpenGl in the cocoa framework of Xcode and I'm trying to get my app to detect if a arrow key is pressed. I've researched for hours today with hardly any luck, I have found other examples that worked and tried to duplicate their code into my project, but when I press a arrow key the computer beeps and nothing happens.
Anyone know a solution or could give me instructions of how to do it?
-Gandolf
Anyone know a solution or could give me instructions of how to do it?
-Gandolf