MCPcopy Create free account
hub / github.com/NetHack/NetHack / mswin_nh_input_init

Function mswin_nh_input_init

outdated/sys/wince/mhinput.c:23–33  ·  view source on GitHub ↗

initialize input queue */

Source from the content-addressed store, hash-verified

21
22/* initialize input queue */
23void
24mswin_nh_input_init()
25{
26 if (!nhi_init_input) {
27 nhi_init_input = 1;
28
29 ZeroMemory(nhi_input_buffer, sizeof(nhi_input_buffer));
30 nhi_read_pos = 0;
31 nhi_write_pos = 0;
32 }
33}
34
35/* check for input */
36int

Callers 4

mswin_input_pushFunction · 0.70
mswin_input_popFunction · 0.70
mswin_input_peekFunction · 0.70
mswin_init_nhwindowsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected