Advertisement

Do you know GetAsyncKeyState equivalent for linux

Started by January 08, 2004 01:26 AM
1 comment, last by pascal_nunes 21 years, 2 months ago
we use GetAsyncKeyState to get state of keys in windows. do you know the linux equivalent of this function. GetAsyncKeyState helps to quickly detect changes in keys. How do i do this in linux. i am working on a game in linux and the am facing problems with detecting quick changes if many keys are pressed together. PascalNet
PascalNet
Try GetKeyState(), i read something on the microsoft page about that you shouldn't use GetAsyncKeyState() at all, so that might me a reason .

[edited by - Tree Penguin on January 8, 2004 9:12:25 AM]
Advertisement
Use SDL or something to get access to input.

You have to remember that you''re unique, just like everybody else.
If at first you don't succeed, redefine success.

This topic is closed to new replies.

Advertisement