Keyboard Shortcuts
Submitted by Asturia on Sat, 2009-06-13 18:13.
| Project: | Virtual Combat Cards Project |
| Version: | 0.95.1 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Nebulorum |
| Status: | closed |
Jump to:
Description
Hi,
Could you add some keyboard shortcuts?
For example
ctrl+b start round
ctrl+e end round
ctrl+m mark target, when you do this, you could have a popup window asking from which source it comes and when it ends.
ctrl+d deal damage and a popup window where you can specify the amount
ctrl+h for heal and a popup window where you can specify the amount
of course these are only suggestion :)
kind regards
Asturia
#1
Have done some testing and fiddling. I failed to get Ctrl+S to work (help with Swing welcome). However Alt+S works. The ideas is to have these keys as a replacement for pressing the buttons:
This should really make VCC faster, since these are some of the common actions.
#2
Quick note, I managed to get other keystrokes working so now anyone should be possible. Still need some work on the marking story.
#3
Implemented the following short-cuts:
These short-cuts should really reduce the amount of clicking, and make things easier.
To test it, extract the content of the file to the directory where VCC is installed (the package contains only install.zip)
#4
Hey,
Ctrl+H only works if you click out of ANY text input box inside the program. It behaves like the backspace key if the cursor is inside a text input box. If however, you click elsewhere in the program, then it works as required.
This means that you may as well just click the heal box with the mouse as you have to move the mouse and click elsewhere anyway in order for Ctrl+H to work.
I noticed that it did this in a previous version as well when I was randomly trying Ctrl+ shortcuts...
Joe
#5
Well observed, Ctrl+H is bound on the Backspace command on all the text fields. This is the default behavior for the components on Swing. Which means we have one of these options:
Although (1) means that interface will behave differently depending on context, I think it works. However if we want to go for a constant interface I would suggest going to option (3). The other alternative is really hard to make it work.
There a actually a lot of keystroke binding on the default interface. On the sequence table Ctrl+A would select all combatant (which ends up meaning pick the last one). I think there are less think bound to the Alt key.
#6
Changed all the short cuts to use Alt instead of Control. Also fixed some minor issues and added a help on the status bar when the sequence table is selected.
#7
Tested and seem to work fine.
#8
In 0.95.1 the new shortcut of selecting the first combatant on the list (Ctrl+F) is a great idea. Thanks for that!
Any chance this could be extended into being able to click shortcuts to navigate the 'curser' to different areas of vcc interface?
Joe
#9
Ctrl+F was the first short-cut available since 0.30 I think.
As for the short-cuts for navigation I think a new issue would be the best way to handle that. Can you open one?
#11
Automatically closed -- issue fixed for two weeks with no activity.