andrew-pa / libqeg

cross platform graphics API (and game engine?)
1 stars 0 forks source link

Mod keys don't work #14

Closed andrew-pa closed 10 years ago

andrew-pa commented 10 years ago

Mod keys (Ctrl, Shift, Alt) are not working how you might suppose (state::keydown(mod_key) && state::keydown(key)). Broken in OpenGL(GLFW) and DirectX

andrew-pa commented 10 years ago

this seems fixed. added keyboard::state::mods() that returns a flag enum with what mod key is held down