Author Topic: [DONE] Add hotkeys for moving unit up/down  (Read 339 times)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
[DONE] Add hotkeys for moving unit up/down
« on: September 24, 2024, 04:56:19 pm »
Almost every battlescape button in OXC has hotkey. But somehow moving unit up/down buttons do not. Seems strange as this actions are very useful.
So I set them up.
PageUp and PageDown are used for moving view up/down; also I couldn't use W and S because S is set for Stats. So I decided default values to be W and X.
Tests proof that X for "Move unit below" and X for "Clear inventory" do not interfere, both work just ok.

P. S. Now there is only one button without hotkey -- "Multilevel view". I just see no use in that one, so I ignored it.

Here's my pull request: https://github.com/OpenXcom/OpenXcom/pull/1446


The W hotkey is already taken in OXCE.

Otherwise I'm happy to include into OXCE (if OXC isn't interested).

Done.
https://github.com/MeridianOXC/OpenXcom/commit/7ece56292dbd40ab59e85d2f34b7c017cbd8275c

Default hotkeys are empty, everyone can choose their own.