Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ GetKey
Method
GetKey
olcPixelGameEngine.h:2652–2655 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2650
}
2651
2652
HWButton PixelGameEngine::GetKey(Key k) const
2653
{
2654
return pKeyboardState[uint8_t(k)];
2655
}
2656
2657
HWButton PixelGameEngine::GetMouse(uint32_t b) const
2658
{
Callers
1
OnBeforeUserUpdate
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected