Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IppClub/Dora-SSR
/ makeControllerButtonMask
Function
makeControllerButtonMask
Source/Input/Controller.cpp:29–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
29
static Uint32 makeControllerButtonMask() {
30
Uint32 mask = 0;
31
for (int i = 0; i < SDL_CONTROLLER_BUTTON_MAX; ++i) {
32
mask |= 1u << i;
33
}
34
return mask;
35
}
36
37
static Uint32 makeControllerAxisMask() {
38
Uint32 mask = 0;
Callers
1
initInRender
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected