bool GetKeyState(Keys key) { return ::GetAsyncKeyState(ToVirtualKeyCode(key)) != 0; }
inline bool IsKeyPressed( KeyCode::Code key_code ) { return ( GetAsyncKeyState( ToVirtualKeyCode(key_code) ) & 0x8000 ) != 0; }