Voxelands Forum

The official Voxelands discussion forum

You are not logged in.

#1 2014-05-01 17:17:53

tiemay
Git Breaker
Registered: 2014-05-01
Posts: 53

Keybindings weirdness

A few things in regards to the keybindings.

One:
I can't seem to use most of the symbol keys. I particularly want to set 'command' to '/', but when I try, it gets set to '-' (but the '-' key won't actually make it work). The same thing happens with every other symbol I've tried except: Period, Comman,  Minus and plus.

Similar weird things happen with some non-symbol, non-letter keys after saving and reopening the key settings, but I'm guessing these get changed on purpose: 'Tab' becomes 'T', 'Left Control' becomes 'L', 'Right Control' become 'R' .etc.

Two:
You can set multiple bindings to the same key; in other words, I can set everything to 's'. I tried it, and the key ends up opening the invintory of all things.

Similarly, you can set things to the F[1-12] keys overriding their original in-game functions. I don't know if that's good or bad, I'm just pointing it out.

Three:
Because of what I did in two, I discovered I can only set a binding to 'Space' if I click the button so it says 'press Key', then click elsewhere on the screen, then press space. Otherwise, if I try to set a binding to 'Space' like any other key, it makes the button press in as if I where clicking it, but doesn't do anything.

Last edited by tiemay (2014-05-01 18:14:20)

Offline

#2 2014-06-01 15:09:32

tiemay
Git Breaker
Registered: 2014-05-01
Posts: 53

Re: Keybindings weirdness

Another thing I noticed with keybindings, if you manually set a key to it's default, like left to A, it will still be recorded in minetest.conf as `keymap_left = KEY_KEY_A` even though it's not needed. Dunno if it's worth fixing, but it might go something like `if not default, write to minetest.conf`.

Last edited by tiemay (2014-06-01 15:12:16)

Offline

#3 2014-08-02 08:53:09

Dogers
Member
From: Marseille - France
Registered: 2014-08-02
Posts: 1

Re: Keybindings weirdness

Hail.

I just compiled the game, and I wanted to changed the key binding like this :

1406969622-1.png

By the way, I can't bind some keys like "Enter" or Numpad 1 for instance. But more strange is what's happening next. When I save the settings and then return to them I got this :

1406969672-2.png

Some key are correctly binded but some other not ! I prefer to use Arrow keys, and with that bug I can't.

This is the only thing that restrain me to play this game, I hope it helped.

Last edited by Dogers (2014-08-02 08:55:28)

Offline

#4 2015-01-22 00:05:39

darkrose
Administrator
Registered: 2013-10-05
Posts: 766

Re: Keybindings weirdness

Is this bug still happening for anyone? I can't reproduce it in 1412.01 or what will be 1501.00.


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#5 2015-01-29 01:24:34

Wuzzy
Translaterer
Registered: 2014-09-03
Posts: 134

Re: Keybindings weirdness

Maybe if would help if the bug reporters also post which keyboard layout they used.

I use the QWERTZ (de-latin1-nodeadkeys) keyboard layout, and this bug occours to me in 1501.00 under GNU/Linux.

The following keys result in “-” being displayed, and they do not work in-game:

  • <

  • #

  • Ö

  • Ä

  • Ü

  • ß

  • ^

  • ´

Pressing my left Alt key gives “Menu left”.
Alt Gr gives “Menu right”.
Spacebar, return and return in the numpad do not work at all, the keybinding will not be assigned.
Page Up is printed as “Prior”; Page Down is printed as “Next”. These seem to be odd key names to me.

Last edited by Wuzzy (2015-01-29 01:24:56)

Offline

#6 2015-01-29 10:25:34

darkrose
Administrator
Registered: 2013-10-05
Posts: 766

Re: Keybindings weirdness

Cool, that gives me something to work with, thanks smile


Support Voxelands on Patreon: https://www.patreon.com/voxelands

Offline

#7 2015-03-18 22:33:59

TurtleCat
Not Dead, Just Sleeping
Registered: 2014-11-16
Posts: 19

Re: Keybindings weirdness

Just to add, I noticed whilst I was playing around after adding those new key change buttons, I get this same issue using a UK-layout keyboard. The following keys are affected:

  • `

  • \

  • /

  • ;

  • '

  • #

  • [

  • ]

Like Wuzzy, I get the same results for left and right Alt, space, return etc. Happens both in 1501.00 and also in the next branch.

Offline

#8 2018-03-04 00:30:58

Voxelator
Member
Registered: 2018-02-19
Posts: 2

Re: Keybindings weirdness

This is still an issue in 17.09. The Shift keys are picked up as a key to use, so anything that needs shift to access cannot be selected. On a UK keyboard I can't bind to ! " £ $ % ^ & * ( ) _ + { } : @ ~ < > ?  because I need to press the shift key first. Also on UK keyboard \ / [ ] ; ' # result in a - even though these keys don't need shift pressed.

The keyboard handling looks to be handled by the irrlicht game engine and hooked into by voxelands, and it looks to be this that limits the mappable keys.

http://irrlicht.sourceforge.net/docu/_k … ource.html

Last edited by Voxelator (2018-03-04 20:44:38)

Offline

Board footer

Powered by FluxBB