Opened 8 years ago

Last modified 5 years ago

#3718 new enhancement

[PATCH] Main menu hotkeys

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – Miscellaneous Keywords: patch
Cc: azrdev@… Patch:

Description (last modified by azrdev)

It would be nice to control the mainmenu from keyboard (instead of being forced to move the mouse). For example:

M - open multiplayer menu
 L - open lobby
 H - host game
 J - join game

M might be used both for Singleplayer -> Matches and Multiplayer. It should just check for the currently opened submenu. The current submenu can already be closed using escape Maybe we could also have a hotkey like ctrl+escape to close the gamesetup/lobby? See also:

Hotkey for clearing the lobby chat was discussed in #3396. For building hotkeys #1492, it was suggested at some point to allow the user to set hotkeys in the GUI. May or may not be needed here. Having them in defaults.cfg would be a good start.

Attachments (1)

t3718.patch (3.9 KB ) - added by Sergey Kushnirenko 8 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by leper, 8 years ago

Keywords: simple removed

Certainly not simple since this whole thing does not seem useful, the whole hotkey choices need some discussion and I'm inclined to just close this as invalid.

comment:2 by azrdev, 8 years ago

Cc: azrdev@… added
Description: modified (diff)

by Sergey Kushnirenko, 8 years ago

Attachment: t3718.patch added

comment:3 by Sergey Kushnirenko, 8 years ago

Keywords: review patch added
Milestone: BacklogAlpha 20
Summary: Main menu hotkeys[PATCH] Main menu hotkeys

comment:4 by elexis, 8 years ago

Keywords: review removed
  • put these default.cfg entries to hotkeys.mainmenu, they have nothing to do with overlays
  • some unneeded parenthesis
  • don't call the hotkeys according to their key. The idea behind hotkeys is that the user can change them. So if mainmenu.toggle_s can be assigned to the J key, that name doesn't make much sense. The names should be specific towards what they do, i.e. hotkey.mainmenu.multiplayer and hotkey.mainmenu.multiplayer.connect
  • The user must know that these hotkeys exist, so it should be displayed in a tooltip.

comment:5 by Itms, 8 years ago

Milestone: Alpha 20Alpha 21

comment:6 by elexis, 8 years ago

Backlogging due to lack of progress.

comment:7 by elexis, 8 years ago

Milestone: Alpha 21Backlog

comment:8 by Imarok, 5 years ago

Component: UI & SimulationMisc. UI

Move tickets to Misc. UI as "UI & Simulation" got some sub components.

Note: See TracTickets for help on using tickets.