View Full Version : Reading from the keyboard
05-22-2008, 03:21 AM
How can I read the state of the keyboard under linux? I want to be able to find out when the arrow keys are pressed or not, and some other keys. It'll be enough to get press/release events, but I don't want to use glut and glut callbacks.
05-22-2008, 09:30 AM
Use SDL or GLFW. Both are cross platform.
I really like GLFW.
05-22-2008, 07:18 PM
I scanned the manual and it seems like like GLFW is exactly what I need! (I didn't see it yet but I guess there is some way to open a full screen window)
05-22-2008, 11:11 PM
yes of course. Use GLFW_FULLSCREEN as mode argument to glfwOpenWindow.
The User guide and Reference PDFs of GLFW are neat.
05-23-2008, 12:09 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.