浏览代码

* 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 年前
父节点
当前提交
59069aba51
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      caca/driver_gl.c

+ 2
- 1
caca/driver_gl.c 查看文件

@@ -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;


正在加载...
取消
保存