MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / makeControllerAxisMask

Function makeControllerAxisMask

Source/Input/Controller.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37static Uint32 makeControllerAxisMask() {
38 Uint32 mask = 0;
39 for (int i = 0; i < SDL_CONTROLLER_AXIS_MAX; ++i) {
40 mask |= 1u << i;
41 }
42 return mask;
43}
44#endif // DORA_DEV_VIRTUAL_CONTROLLER
45
46Controller::Controller() {

Callers 1

initInRenderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected