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

Function GeneralKey

outdated/sys/mac/macwin.c:2983–2993  ·  view source on GitHub ↗

* Note; theWindow may very well be null here, since keyDown may call * it when theres no window !!! */ NOT_IN_CARBON */

Source from the content-addressed store, hash-verified

2981 */
2982/* NOT_IN_CARBON */
2983static void
2984GeneralKey(EventRecord *theEvent, WindowPtr theWindow)
2985{
2986#if defined(__SC__) || defined(__MRC__)
2987#pragma unused(theWindow)
2988#endif
2989#if 0
2990 trans_num_keys (theEvent);
2991#endif
2992 AddToKeyQueue(topl_resp_key(theEvent->message & 0xff), TRUE);
2993}
2994
2995static void
2996HandleKey(EventRecord *theEvent)

Callers 1

HandleKeyFunction · 0.85

Calls 3

trans_num_keysFunction · 0.85
AddToKeyQueueFunction · 0.85
topl_resp_keyFunction · 0.85

Tested by

no test coverage detected