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

Function send_key

outdated/win/gem/wingem1.c:1321–1329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319/************************* more *******************************/
1320
1321void
1322send_key(int key)
1323{
1324 int buf[8];
1325
1326 buf[3] = 0; /* No Shift/Ctrl/Alt */
1327 buf[4] = key;
1328 AvSendMsg(ap_id, AV_SENDKEY, buf);
1329}
1330
1331void
1332send_return()

Callers 4

send_returnFunction · 0.85
mar_nh_poskeyFunction · 0.85
Dia_HandlerFunction · 0.85
send_yn_escFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected