yagv icon indicating copy to clipboard operation
yagv copied to clipboard

Panning, keyboard control

Open hexagon5un opened this issue 7 years ago • 1 comments

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.

hexagon5un avatar Sep 12 '17 07:09 hexagon5un

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 …

ednisley avatar Feb 14 '19 17:02 ednisley