Originally created by: Luke... (code.google.com)@gmail.com Originally owned by: zakalawe@mac.com
Would it be possible to get a shortcut key for the map in flightgear like (F9) or something like that :) It would be great
Originally posted by: emili... (code.google.com)@gmail.com
(No comment was entered for this change.)
Labels: Type-FeatureRequest Inputs
You seem to have CSS turned off. Please don't fill out this field.
Originally posted by: bre... (code.google.com)@gmail.com
Indeed, map dialog is one of the very few dialogs deserving an own shortcut. CCing Zakalawe.
Labels: GUI Cc: zakalawe@mac.com
Originally posted by: zakalawe@mac.com
I believe the usually issue here is lack of 'free' keybindings.
Originally posted by: Luke... (code.google.com)@gmail.com
Is adding shortcuts hard? also if I knew how to do it I would love add the shortcut to the map : )
Originally posted by: wonco...@googlemail.com
Adding new keyboard bindings isn't hard - it just involves editing a plain text (XML) file using a conventional text (or XML) editor.
You can check out $FG_ROOT/preferences.xml: https://gitorious.org/fg/fgdata/blobs/master/preferences.xml#line965
As you can see, it includes $FG_ROOT/keyboard.xml, this is he file you want to edit: https://gitorious.org/fg/fgdata/blobs/master/keyboard.xml
To add a new keybinding, you just need to look at existing keybindings doing similar things (i.e. dialog-show):
https://gitorious.org/fg/fgdata/blobs/master/keyboard.xml#line165
Now, you just need to copy this, adjust the key/name and dialog name:
<key n="18"> <name>Ctrl-R</name> <desc>Activate the instant replay system</desc> <binding> <command>replay</command> </binding> <binding> <command>dialog-show</command> <dialog-name>replay</dialog-name> </binding> </key>
Originally posted by: stuar... (code.google.com)@gmail.com
Ctrl-M is listed in keyboard.xml as used used for the Enter key under plib.
I think it's now redundant as we no-longer use PLIB for keyboard correct?
See keyboard.xml lines 120.
On my system this works fine.
-Stuart
Okay, will add Ctrl-M and see who objects :)
Status: Accepted
Owner: zakalawe@mac.com
Originally posted by: gijsrooy
Issue 1109 has been merged into this issue.
Tickets: #1109
James, forgot to add the key?
Yep, I forgot.
Fixed in 7d251be9c2a891539072bc6b7, finally.
Status: Fixed
Labels: Milestone-3.0
Log in to post a comment.
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: emili... (code.google.com)@gmail.com
(No comment was entered for this change.)
Labels: Type-FeatureRequest Inputs
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: bre... (code.google.com)@gmail.com
Indeed, map dialog is one of the very few dialogs deserving an own shortcut.
CCing Zakalawe.
Labels: GUI
Cc: zakalawe@mac.com
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: zakalawe@mac.com
I believe the usually issue here is lack of 'free' keybindings.
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Luke... (code.google.com)@gmail.com
Is adding shortcuts hard? also if I knew how to do it I would love add the shortcut to the map : )
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: wonco...@googlemail.com
Adding new keyboard bindings isn't hard - it just involves editing a plain text (XML) file using a conventional text (or XML) editor.
You can check out $FG_ROOT/preferences.xml: https://gitorious.org/fg/fgdata/blobs/master/preferences.xml#line965
As you can see, it includes $FG_ROOT/keyboard.xml, this is he file you want to edit: https://gitorious.org/fg/fgdata/blobs/master/keyboard.xml
To add a new keybinding, you just need to look at existing keybindings doing similar things (i.e. dialog-show):
https://gitorious.org/fg/fgdata/blobs/master/keyboard.xml#line165
Now, you just need to copy this, adjust the key/name and dialog name:
<key n="18">
<name>Ctrl-R</name>
<desc>Activate the instant replay system</desc>
<binding>
<command>replay</command>
</binding>
<binding>
<command>dialog-show</command>
<dialog-name>replay</dialog-name>
</binding>
</key>
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: stuar... (code.google.com)@gmail.com
Ctrl-M is listed in keyboard.xml as used used for the Enter key under plib.
I think it's now redundant as we no-longer use PLIB for keyboard correct?
See keyboard.xml lines 120.
On my system this works fine.
-Stuart
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: zakalawe@mac.com
Okay, will add Ctrl-M and see who objects :)
Status: Accepted
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: zakalawe@mac.com
(No comment was entered for this change.)
Owner: zakalawe@mac.com
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: gijsrooy
Issue 1109 has been merged into this issue.
Related
Tickets:
#1109View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: gijsrooy
James, forgot to add the key?
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: zakalawe@mac.com
Yep, I forgot.
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: zakalawe@mac.com
Fixed in 7d251be9c2a891539072bc6b7, finally.
Status: Fixed
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: gijsrooy
(No comment was entered for this change.)
Labels: Milestone-3.0