Wrote fromGLFWKeyState