Hotkeys for Movements / Mouse Interaction

Brainstorm ideas of possible additions to the game. Read this before posting!

Moderators: Forum Moderators, Developers

Forum rules
Before posting a new idea, you must read the following:

Hotkeys for Movements / Mouse Interaction

Postby bernd » January 17th, 2018, 8:05 pm

Hi there,

just started to play Wesnoth a couple of days ago and was really surprised to having to use the mouse all the time. Would have expected for a game probably developed by a big community of techs to have shortcuts for everything.
Please dont misunderstand me, the game seems great and you can see the uncountable hours of work involved.
It simply would be a lot more comfortable to be able to play it with a wireless keyboard sitting on my couch :D
Googling around I found quite a lot old ideas / requests in this direction (e.g. this or that), but it seems none led to success.

So here is my dream:
Customizable hotkeys for moving the "focused" (clicked) hex on the map and for simulating left-click and right-click (e.g. "primary action" and "secondary action").

As these are by far the most common interactions it would increase the usability vastly.
If moving in 6 directions would be supported defaults could be QWEASD for example.
But using the arrow keys or others for 4 direction movement should not be a problem either, simply by alternating north/south at sideward movement.

What do you think?
Posts: 2
Joined: January 17th, 2018, 7:20 pm

Re: Hotkeys for Movements / Mouse Interaction

Postby bernd » January 25th, 2018, 5:59 pm

0 % "Nay" means 100 % "Yay", doesn't it? Then let's implement! ;)
Posts: 2
Joined: January 17th, 2018, 7:20 pm

Re: Hotkeys for Movements / Mouse Interaction

Postby octalot » January 25th, 2018, 7:15 pm

There's partial joypad support already in the engine, with the concept of the "focused" hex already implemented. But AFAICS, the joypad buttons aren't supported yet, so it still needs mouse-clicks to play the game.

The preferences to enable joystick support are hidden, you have to remove the
Code: Select all
#ifdef __UNUSED__
in data/advanced_preferences.cfg.

Edit: viewtopic.php?f=6&t=34205 joystick users should bind hotkeys to "left mouse click" and "right mouse click", but that seems to have bitrotted (those strings are now only found in the translation files, not the .cpp files themselves). Trying to bind joypad buttons to hotkeys also seems to be non-functional in trunk, the 'add hotkey' dialog responds to the button press, but the button doesn't trigger the function afterwards.
Posts: 92
Joined: July 17th, 2010, 7:40 pm

Return to Ideas

Who is online

Users browsing this forum: No registered users and 3 guests