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

Function Input_Set

src/Input.c:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void Input_Set(int key, int pressed) {
240 if (pressed) {
241 Input_SetPressed(key);
242 } else {
243 Input_SetReleased(key);
244 }
245}
246
247void Input_SetNonRepeatable(int key, int pressed) {
248 if (pressed) {

Callers 10

MapKeysFunction · 0.85
MouseEventProcFunction · 0.85
Window_ProcedureFunction · 0.85
OnKeyEventFunction · 0.85
OnMouseEventFunction · 0.85
Window_ProcedureFunction · 0.85
OnKeyEventFunction · 0.85
OnMouseEventFunction · 0.85
UpdateKeyboardStateFunction · 0.85
OnMouseButtonFunction · 0.85

Calls 2

Input_SetPressedFunction · 0.85
Input_SetReleasedFunction · 0.85

Tested by

no test coverage detected