# HG changeset patch # User John Tsiombikas # Date 1305576593 -10800 # Node ID 5b8fb89fe63faaa2f55dc5016356366351eb7985 # Parent e989ab58ec5b20849d2af1194e68cee201ca3a26 cocoa... diff -r e989ab58ec5b -r 5b8fb89fe63f src/wsys_cocoa.m --- a/src/wsys_cocoa.m Mon May 16 23:05:57 2011 +0300 +++ b/src/wsys_cocoa.m Mon May 16 23:09:53 2011 +0300 @@ -275,6 +275,7 @@ { NSAutoreleasePool *pool; int state; + sgl_idle_callback_t idle; pool = [[NSAutoreleasePool alloc] init]; @@ -291,7 +292,10 @@ static int handle_event(NSEvent *ev) { - /* TODO */ + switch([ev type]) { + case NSKeyDown: + case NSKeyUp: + } #endif /* USE_WSYS_MODULE_COCOA */