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

Comments

Projects
None yet
3 participants
@hexagon5un
Copy link

hexagon5un commented Sep 12, 2017

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

This comment has been minimized.

Copy link

ednisley commented Feb 14, 2019

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
You can’t perform that action at this time.