View unanswered posts | View active topics It is currently 26 Nov 2024, 20:58



Reply to topic  [ 6 posts ] 
 Key mapping 
Author Message
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2042
Unfortunately (IMO), key mapping in ST:S is tied to the CTL key, which kind of invalidates the usefulness of keyboard mapping :( Maybe this should be reviewed?
So far, this is what I've found:

CTL+RET : end turn
CTL+HOME : center on the center of the galaxy
CTL+END : center on homeworld
CTL+LMBdrag : drag map
CTL+[+] : zoom in
CTL+[-] : zoom out

BTW, the +/- keys in the keypad do not work (for zooming), not sure it's intended or not.
Also, I'm used to have the HOME key center on the homeworld, but maybe that's just me?
I understand the use of the CTL key with RET though, to prevent accidents.

I read somewhere someone asking for a way to end turn from any screen. F1 -> CTL+RET :D


23 Jan 2009, 18:50
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
.Iceman wrote:
Unfortunately (IMO), key mapping in ST:S is tied to the CTL key, which kind of invalidates the usefulness of keyboard mapping :( Maybe this should be reviewed?
The idea behind shortcut or accelerator keys is that they involve invoking some normal key in combination with a modifier key (generally CTRL, as ALT is often used for selecting alternate character forms in other languages). Binding commands to key gestures that do not include a modifier key is problematic because it interferes with normal usage of that key (e.g. typing the "+" key in a text box could cause the map to zoom in). Avoiding those problems requires scoping the use of the shortcut to certain controls, like the galaxy grid. Unfortunately, this means the key would only work when the galaxy grid has focus. I find this is generally the best way.

.Iceman wrote:
BTW, the +/- keys in the keypad do not work (for zooming), not sure it's intended or not.
Also, I'm used to have the HOME key center on the homeworld, but maybe that's just me?
I have not implemented any shortcuts using the Home/End keys. However, you they will probably invoke the default behavior for any scroll container (Home scrolls to top-left, End scrolls to bottom-right). I'm certainly open to adding shortcuts for navigating to the player's homeworld.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


24 Jan 2009, 00:54
Profile WWW
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2042
Oh, those were not intended? Ooops. :D Anyways, I guess it's good to know they work..
Maybe you could use F7~F12 to implement additional screens like System Overview, Empire Overview, Fleet Overview, etc.

Oh, and BTW, maybe a testing ("cheat") key for removing/toggling fog of war wouldn't hurt? (Ins/Del?) Maybe even making it an option in the Options screen?


24 Jan 2009, 11:44
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
.Iceman wrote:
Oh, and BTW, maybe a testing ("cheat") key for removing/toggling fog of war wouldn't hurt? (Ins/Del?) Maybe even making it an option in the Options screen?

F12 :). It will remove fog of war until the next turn.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


24 Jan 2009, 16:12
Profile WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
If the home/end keys move the focus to the map corners, then perhaps the 5 key on the number pad could be used to take you to your homeworld? That or make it Ctrl+H...or both. :D

Page up and page down should take you to the opposite map corners if they don't already. I still haven't got my computer back so can't test whether they do. I've temporarily borrowed my sister's laptop though to type this hehe.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


24 Jan 2009, 19:14
Profile WWW
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2042
mstrobel wrote:
[F12 :). It will remove fog of war until the next turn.


Hehe, thanks, I could have sworn I had tried all the F keys - along with pretty much of of the keyboard :wink:


26 Jan 2009, 11:25
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.