yagv
yagv copied to clipboard
Panning, keyboard control
This project looks abandoned. Bummer.
Anyway, here were the showstoppers for me -- no panning to zoom in on details, and the inability to control (anything?) over keyboard.
I hacked the main yagv file to use Ctrl-Q as an exit shortcut by the simple expedient of copying the existing Ctrl-R code:
diff yagv /usr/share/yagv/yagv
18a19
> import sys
364a366,367
> if symbol==pyglet.window.key.Q and modifiers & pyglet.window.key.MOD_CTRL:
> sys.exit()
There's likely a prettier way, but it gets the job done …