MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Input_SetNonRepeatable

Function Input_SetNonRepeatable

src/Input.c:247–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void Input_SetNonRepeatable(int key, int pressed) {
248 if (pressed) {
249 if (Input.Pressed[key]) return;
250 Input_SetPressed(key);
251 } else {
252 Input_SetReleased(key);
253 }
254}
255
256void Input_Clear(void) {
257 int i;

Callers 11

ProcessMouseFunction · 0.85
Window_ProcedureFunction · 0.85
ProcessMouseFunction · 0.85
Window_ProcedureFunction · 0.85
Mouse_PollFunction · 0.85
Keyboard_UpdateModifiersFunction · 0.85
ProcessMouseInputFunction · 0.85
OnMouseMoveFunction · 0.85
ProcessKBButtonsFunction · 0.85
ProcessMouseInputFunction · 0.85
ProcessMouseInputFunction · 0.85

Calls 2

Input_SetPressedFunction · 0.85
Input_SetReleasedFunction · 0.85

Tested by

no test coverage detected