Author Topic: Key Bindings  (Read 225 times)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 1645
    • LairWorks Entertainment
Key Bindings
« on: September 06, 2017, 01:03:26 PM »
There has been some question about the keybindings for OutpostHD with users mentioning differences in keyboard layouts. This is a good point and one I intended to address at a later time but it seems like now is as good a time as any to start talking about it.

While OPHD is in development, I've bound several keys to specific actions (such as complete turn, cancel action, move, etc.). These are mapped to work well on a standard QWERTY keyboard. This isn't carved in stone, though, so any suggestions on different keybindings and keybindings for other actions are entirely welcome.

Default Bindings

Key      Mapping
F2Save Game
F3Load Game
F10Show debug info
F11Toggle fullscreen/windowed mode
PAGE UPGo up one level
PAGE DOWNGo down one level
HOMEGo to surface
ENDGo to max depth level
ENTEREnd turn
ESCAPECancel edit mode.
W / A / S / DMove one tile UP / LEFT / DOWN / RIGHT
ARROWSSame as WASD
0Go to Surface
1Underground 1
2Underground 2
3Underground 3
4Underground 4

« Last Edit: September 06, 2017, 01:06:35 PM by leeor_net »
- Leeor
LairWorks Entertainment

Titanum UFO's

Offline havkyp

  • Newbie
  • *
  • Posts: 21
Re: Key Bindings
« Reply #1 on: September 06, 2017, 03:29:45 PM »
Thanks for the keybindings!!  :D

Does development plans include:

  • A human-readable keybinding configuration file?
  • A GUI for configuring keybindings?
I saw in the other thread that good keybindings take a lot of effort to develop, and I agree. Therefore I suggest that at this point we should focus on having custom keybindings functionally working, and they be optimised post 1.0?

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 1645
    • LairWorks Entertainment
Re: Key Bindings
« Reply #2 on: September 07, 2017, 09:09:29 AM »
Yes and yes.

I'll focus on it for a later development, perhaps for the 0.8.x series of releases?
- Leeor
LairWorks Entertainment

Titanum UFO's

Offline Goof

  • Newbie
  • *
  • Posts: 37
Re: Key Bindings
« Reply #3 on: September 07, 2017, 02:27:58 PM »
In fact on french keyboard the WASD map as ZQSD.
It may be the same kind of problems with non QWERTY keyboards.

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 1645
    • LairWorks Entertainment
Re: Key Bindings
« Reply #4 on: September 10, 2017, 01:03:50 PM »
Which is why I wanted to talk about it. You and lhark both mentioned that the WASD keymapping doesn't work well on your keyboards. It never occurred to me until then that not everybody uses the same keyboard layout.
- Leeor
LairWorks Entertainment

Titanum UFO's

Offline Goof

  • Newbie
  • *
  • Posts: 37
Re: Key Bindings
« Reply #5 on: September 10, 2017, 05:46:42 PM »
You could add QWERTZ/BEPO/DVORAK/... keyboard as well.

or almost any layout from https://en.wikipedia.org/wiki/Keyboard_layout