Source code for picogl.backend.modern.core.shader.mvp.glut_keymap
from elmo.gl.backend.modern.shaders.mvp.key import Key
[docs]
GLUT_TO_KEY = {
27: Key.ESCAPE, # ASCII Escape
32: Key.SPACE, # ASCII Space
100: Key.LEFT, # GLUT special key left
101: Key.UP,
102: Key.RIGHT,
103: Key.DOWN,
}