Original Post
I'm working on a cross-platform cross-compiler game project right now, and I've managed to create networking and graphics source files that compile for both Win32 and Linux (other platforms are theoretically supported, but they're essentially irrelevant).
Now I'm up to input. Now we're using GLUT at the moment, and that's been very nice in terms of input. Unforunately, I don't think the GLUT input will cut it. It's event based and AFAIK it can only process one keypress at a time. I was hoping for something equivalent to Win32's GetAsyncKeyState under Linux. I have frankly never coded Linux, and I'm probably not going to do this block of code, but I'm still doing the research for it.
In short, does Linux have an equivalent of Win32's GetAsyncKeyState?
P.S. GLUT is the only lib we're using. Unless there is an OpenIL already
I'd like to avoid pulling in any other libraries, such as SDL or whatever.
[EDIT]Whoa! There IS an OpenIL...although it's conveniently still in the planning stage