Irrlicht input handling bug [Solved]

Post Reply
Corrupted
New member
Posts: 4
Joined: Sun Feb 05, 2023 09:04
In-game: Corrupted

Irrlicht input handling bug [Solved]

by Corrupted » Post

Hello, today I have a problem with keybinding. I can't use all lowercase letters to modify the default keybinding. I need to do it because it does nothing when I press the alphabet keys except when I press the shift key along with them, but if I press the shift key along with the WASD keys, it can't stop moving. Also, when I try to put in the lowercase alphabets, it doesn't appear. I also tried to edit the minetest.conf file by adding these lines of code.

Code: Select all

keymap_forward = KEY_KEY_W
keymap_backward = KEY_KEY_S
keymap_left = KEY_KEY_A
keymap_right = KEY_KEY_D
My Minetest version is 5.6.1. I install Minetest with the flatpak file. I use Debian Linux. My keyboard layout is an American keyboard (QWERTY) and this is a fresh Minetest install.

Here are some screenshots.

Before putting in the lowercase alphabets (Default settings) :
Image

After putting in the uppercase alphabets :
Image

Please help me :(
Last edited by Corrupted on Sat Feb 11, 2023 13:14, edited 2 times in total.

Neptune :3
New member
Posts: 1
Joined: Mon Jan 23, 2023 21:47

Re: Keybinding bug

by Neptune :3 » Post

It's probably better to use minetest 5.5.0, 5.6 is a version with everything edited and fixed up just for ez play

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Keybinding bug

by rubenwardy » Post

Corrupted wrote:
Sun Feb 05, 2023 09:37
Hello, today I have a problem with keybinding. I can't use all lowercase letters to modify the default keybinding. I need to do it because it does nothing when I press the alphabet keys except when I press the shift key along with them, but if I press the shift key along with the WASD keys, it can't stop moving. Also, when I try to put in the lowercase alphabets, it doesn't appear. I also tried to edit the minetest.conf file by adding these lines of code.
This shouldn't be happening - the keys aren't case sensitive, you should be able to use them without pressing shift. The bug here is something odd with the Irrlicht input handling rather than the keybinding specifically
Corrupted wrote:
Sun Feb 05, 2023 09:37
My Minetest version is 5.6.1. I install Minetest with the flatpak file. I use Debian Linux. My keyboard layout is an American keyboard (QWERTY) and this is a fresh Minetest install
Are you using Wayland or X11?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Corrupted
New member
Posts: 4
Joined: Sun Feb 05, 2023 09:04
In-game: Corrupted

Re: Keybinding bug

by Corrupted » Post

I am using Wayland.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Keybinding bug

by rubenwardy » Post

Minetest doesn't support Wayland, you need to use XWayland to simulate the X11 API. Have you got this set up? I'd assume so if the window opens, I'm not familiar with Wayland though

EDIT: sfan5 confirms that if you didn't have XWayland then Minetest wouldn't even start up
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Corrupted
New member
Posts: 4
Joined: Sun Feb 05, 2023 09:04
In-game: Corrupted

Re: Irrlicht input handling bug

by Corrupted » Post

Thank you very much. Now my problem is fixed.

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: Irrlicht input handling bug

by Desour » Post

Corrupted wrote:
Sat Feb 11, 2023 13:13
Thank you very much. Now my problem is fixed.
What caused issue, what did you do to fix it?
<https://xkcd.com/979/>
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

Corrupted
New member
Posts: 4
Joined: Sun Feb 05, 2023 09:04
In-game: Corrupted

Re: Irrlicht input handling bug [Solved]

by Corrupted » Post

Minetest does not support Wayland.
Xorg is pre-installed in my system. I just switched from Wayland to Xorg.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests