MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / endFrame

Function endFrame

TheForceEngine/TFE_Input/input.cpp:56–66  ·  view source on GitHub ↗

/////////////////////////////////////////////////// Implementation ///////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

54 // Implementation
55 ////////////////////////////////////////////////////////
56 void endFrame()
57 {
58 s_mouseWheel[0] = 0;
59 s_mouseWheel[1] = 0;
60 memset(s_buttonPressed, 0, CONTROLLER_BUTTON_COUNT);
61 memset(s_mousePressed, 0, MBUTTON_COUNT);
62 memset(s_keyPressed, 0, KEY_COUNT);
63 memset(s_keyPressedRepeat, 0, KEY_COUNT);
64 memset(s_bufferedKey, 0, KEY_COUNT);
65 memset(s_bufferedText, 0, BUFFERED_TEXT_LEN);
66 }
67
68 // Set, from the OS
69 void setAxis(Axis axis, f32 value)

Callers 2

mainFunction · 0.85
pda_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected