input - XLib autorepeat for game engine -


my problems i'm developing little 3d view engine in c++ opengl/xlib/linux, , need inputs (w,a,s,d) move camera around scenary, when events xlib, works autorepeat delay, mean, when press w, trigger keypress event , camera moves unit forward. past second pressing w, starts autorepeat , camera starts move continuously.

what don't want wait second move constantly. need know while key pressed, , released.

is there way inputs constrantly, or other lib can inputs polling method or else?

tanks.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -