Browse Source

* cut too long line (I read the coding style rules, yes). And we had home/end keys support in opengl driver BEFORE X11. Yeah !

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 18 years ago
parent
commit
59069aba51
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      caca/driver_gl.c

+ 2
- 1
caca/driver_gl.c View File

@@ -389,7 +389,8 @@ static int gl_get_event(caca_display_t *dp, caca_event_t *ev)
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_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;


Loading…
Cancel
Save