Closed vrld closed 12 years ago
I decided against merging your great pull request for the following reasons: This feature can be implemented without changing the info-beamer core. Commit 7e14382f4c adds the same feature using a small python client (using pygame and pyOSC) which sends keyboard/mouse input to info-beamer using OSC. This has the following advantages:
Add callbacks node.keypressed(key, code) and node.keyreleased(key, code) All nodes will receive the keyboard events.
Add global table GLFW_SPECIAL_KEYS that maks glfw special key codes to string identifiers (e.g. GLFW_KEY_ESC -> "escape").