2007-02-26 Berry キーハンドラ D言語 SDL void userDeifnedHandler(const SDL_Event *e) { swtich (_toKeySym(e)) { case SDLK_ESCAPE: _callQuit(); } } ... b.entryKeyHandler(userDefinedHandler); ... ってなカンジでSDL_SetEventFilter()を使ったほうがいいのかも。