MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetMod

Function GetMod

Source/Accelerator.cpp:139–141  ·  view source on GitHub ↗

Translate internal modifier -> windows modifier

Source from the content-addressed store, hash-verified

137
138// Translate internal modifier -> windows modifier
139BYTE GetMod(int Mod) {
140 return ((Mod & MOD_CONTROL) ? FCONTROL : 0) | ((Mod & MOD_SHIFT) ? FSHIFT : 0) | ((Mod & MOD_ALT) ? FALT : 0);
141}
142
143} // namespace
144

Callers 1

SetupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected