diff --git a/caca/driver_gl.c b/caca/driver_gl.c index 52e1822..3665eb1 100644 --- a/caca/driver_gl.c +++ b/caca/driver_gl.c @@ -388,6 +388,12 @@ static int gl_get_event(caca_display_t *dp, caca_event_t *ev) case GLUT_KEY_RIGHT: ev->data.key.ch = CACA_KEY_RIGHT; break; case GLUT_KEY_UP : ev->data.key.ch = CACA_KEY_UP; break; case GLUT_KEY_DOWN : ev->data.key.ch = CACA_KEY_DOWN; break; + case GLUT_KEY_PAGE_UP : ev->data.key.ch = CACA_KEY_PAGEUP; break; + case GLUT_KEY_PAGE_DOWN : ev->data.key.ch = CACA_KEY_PAGEDOWN; break; + case GLUT_KEY_HOME : ev->data.key.ch = CACA_KEY_HOME; break; + case GLUT_KEY_END : ev->data.key.ch = CACA_KEY_END; break; + case GLUT_KEY_INSERT : ev->data.key.ch = CACA_KEY_INSERT; break; + default: ev->type = CACA_EVENT_NONE; return 0; }