MCPcopy Create free account
hub / github.com/crosire/reshade / last_key_pressed

Method last_key_pressed

source/input.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328unsigned int reshade::input::last_key_pressed() const
329{
330 for (unsigned int i = VK_MBUTTON; i < ARRAYSIZE(_keys); i++)
331 if (is_key_pressed(i))
332 return i;
333 return 0;
334}
335unsigned int reshade::input::last_key_released() const
336{
337 for (unsigned int i = VK_MBUTTON; i < ARRAYSIZE(_keys); i++)

Callers 1

key_input_boxMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected