View Full Version : Reading from the keyboard
05-22-2008, 04: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, 10:30 AM
Use SDL or GLFW. Both are cross platform.
I really like GLFW.
05-22-2008, 08: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-23-2008, 12:11 AM
yes of course. Use GLFW_FULLSCREEN as mode argument to glfwOpenWindow.
The User guide and Reference PDFs of GLFW are neat.
05-23-2008, 01:09 AM
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.