Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panning, keyboard control #13

Open
hexagon5un opened this issue Sep 12, 2017 · 1 comment
Open

Panning, keyboard control #13

hexagon5un opened this issue Sep 12, 2017 · 1 comment

Comments

@hexagon5un
Copy link

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.

@ednisley
Copy link

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 …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants