Create account / Log in

Improved and unified keystroke input in the editor

Suggestions for additional features for the module editor and Vassal engine.

Moderators: uckelman, Tim M

Improved and unified keystroke input in the editor

Postby Filip » September 13th, 2009, 2:15 am

The range of input that various traits allow when assigning keystrokes is not consistent, while I'd like to be able to have consistent keyboard shortcuts across the entire module (like frex spacebar for primary functions of all pieces, enter for secondary functions etc.).

For instance, opening a property sheet always requires ctrl-something, while other traits do just fine with a single key. Also, it seems impossible to assign delete or backspace in the editor - though apparently it can be done through manual editing of the buildfile. Arrow keys (as well as page up/down, I think) also appear out of question for many traits, while they seem like a intuitive choice of shortcut for increasing/decreasing dice values or the like.

Finally, occasionally there was no way to leave the keyboard shortcut field blank in the module, entirely removing the option from the piece's right-click menu. It was particularly problematic with the Play Sound trait, as I wanted rolling the dice to trigger a sound, but no ability to play the sound without rolling. I only managed to achieve that end result through manually editing buildfile to assig a non-existent key code to Play Sound.

So, would it be possible to:

1. Make the editor accept *any* keystroke or keystroke combination when assigning keyboard shortcuts, for all traits?

2. Add a button for clearing the assigned keyboard shortcut (and consequently remove a given option from the piece's right-click menu), for all traits?
Filip
 
Posts: 95
Joined: September 11th, 2009, 12:46 am

Improved and unified keystroke input in the editor

Postby Brent Easton » September 13th, 2009, 9:51 pm

1. Make the editor accept *any* keystroke or keystroke combination when
assigning keyboard shortcuts, for all traits.


This has been addressed in Vassal 3.2. The KeyStroke fields in all traits have been replaced with a new version.


2. Add a button for clearing the assigned keyboard shortcut (and
consequently remove a given option from the piece's right-click menu), for
all traits.


The KeyStroke mediates the action so it is not possible to remove the KeyStroke. In Vassal 3.1.x it is not possible to have a menu option with no keystroke.

However, in Vassal 3.2, you can use 'Virtual Keystrokes' instead of real keystrokes for key commands. 'Virtual Keystrokes' are defined by name and do not appear in the menu, so you have the effect of a Command with no keyboard shortcut.

B.





_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
Brent Easton
 
Posts: 3198
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

Postby Filip » September 16th, 2009, 10:19 pm

Cool, that's great. I'll be waiting for 3.2, then.
Filip
 
Posts: 95
Joined: September 11th, 2009, 12:46 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests