Page 1 of 1

Widget:capture and escape key fix, atlastaxi

Posted: 12 Jul 2011, 16:53
by Jools
This simple widget does the following:

* If and only if 1 unit that can capture is selected, then pressing "C" = capture. Otherwise do nothing.

*Pressing Escape key clears current selection and disables the "press Shift+escape to access the quit menu" nag.

It may be of use to someone.

Re: Widget:capture and escape key fix

Posted: 08 Sep 2011, 02:08
by Jools
The widget does the following:

Press ESC to deselect and close all windows

Press C when commander is selected to capture (I have bound C to select commander in uikeys.txt)

Press L to order a transport to pick up selected unit, unless it's a transport itself.

You can enable/disable any of these inside the widget.

Re: Widget:capture and escape key fix

Posted: 30 Sep 2011, 03:26
by smoth
as a question because I don't know...
do the key ids change for different keyboards. I know some countries have very very different keys.

Re: Widget:capture and escape key fix

Posted: 30 Sep 2011, 09:14
by Jools
I would assume they don't. Isn't that the reason you actually have a code in the first place?

Re: Widget:capture and escape key fix

Posted: 25 Nov 2011, 20:50
by Jools
Fixed to be compatible with spring 84.0