Some number keys not working

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

Some number keys not working

by Zeg9 » Sat Nov 17, 2012 11:28

Hello, I have a problem since I switched to arch linux (I had other problems before, too, but they are fixed now):
Some number keys are not working, including half of the keypad, and the 7 key (numpad AND the other one).
It seems they are detected as other keys, then ignored.
If I set the keymap to qwerty, the 7 key works (I have an azerty keyboard), the numpad still doesn't work though.
If I add qwerty in the keymap list (but I keep azerty on first pos), it seems to work, but some software become in qwerty...
Anyone has an explanation or, even better, a fix to that ? :s
Oh, and I am on a 64 bit architecture, and I use xfce (the issue happens on other DEs too)
Thanks for reading.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Sat Nov 17, 2012 12:25

Numpad isn't really a problem, actually, the real problem is that I can't type 7 in any box, including server ip...
I actually modify /etc/hosts to get on servers with 7 in their ip, but I shouldn't have to do this I think :p
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Wed Dec 05, 2012 17:15

I've heard of some other people having problems with the 7 key on azerty keyboard layout, this (I think) is a irrlicht issue and currently the only way around it is either to switch to qwerty layout temporarily or to copy-paste the number 7.

Also numpad seems to work fine for me on my windows system, I will check my linux and mac systems later after work to see if I have any keyboard issues on them although I use a qwerty keyboard.

could you give us some more information like OS, Keyboard layout and which keys don't work on your numpad at least then we will know what needs fixing, unless it is a irrlicht bug in which case we can give them a detailed report of the issue.

Hybrid Dog wrote:Numpad is useful to edit long text on signs or sth.
7 → move to first letter
1 → move to last letter


We can do this anyway by turning numlock off to use the keys other functions and on to use the numbers ^_^
Last edited by dannydark on Wed Dec 05, 2012 17:16, edited 1 time in total.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Sun Dec 09, 2012 15:42

I am using arch linux, an azerty keyboard, and only 9 and 3 are working on numpad.
Also, all other keys work, except the 7. and copy-pasting in minetest just crashes the source application (the one I copy from)...
EDIT: It seems I haven't got this problem in debian, too.
Last edited by Zeg9 on Sun Dec 09, 2012 15:43, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
Calinou
Moderator
 
Posts: 3156
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sun Dec 09, 2012 20:23

Happens to me too, this seems to happen when using an AZERTY keyboard layout with Minetest (I can guess it since you're from France :P).

Workaround: switch to QWERTY (= "american"), then press "è"... which is a 7 in QWERTY.

I use Xfce too. Haven't tried with other DEs.
 

User avatar
sfan5
Moderator
 
Posts: 3810
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Sun Dec 09, 2012 20:47

I can confirm this!
Really annoying.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Mon Dec 10, 2012 06:32

I found a way to fix that, but it's "cheaty":
chroot to my existing debian squeeze... and run minetest inside that chroot.
I think debian has an old version of something, that worked better before.

EDIT: btw, the forum asked me 3 questions before it lets me post that -_-
EDIT2: I haven't got this bug in supertuxkart, that game also using irrlicht
EDIT3: it seems our 7 key is ignored because it is considered as "shift" (go in change keys and press it, you'll see)
Last edited by Zeg9 on Mon Dec 10, 2012 06:37, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

glomie
Member
 
Posts: 141
Joined: Sun Aug 07, 2011 19:41

by glomie » Mon May 13, 2013 19:57

with kde and debian
i start the game with qwerty keyboard then i change to azerty.

Edit:
That don't work anymore, its a big problem, what can i do ?
Last edited by glomie on Tue May 14, 2013 21:23, edited 1 time in total.
Sorry for my bad english...
 

glomie
Member
 
Posts: 141
Joined: Sun Aug 07, 2011 19:41

by glomie » Wed May 15, 2013 14:16

Finaly found a way, US keyboard first in list of keyboard.
Sorry for my bad english...
 

User avatar
khonkhortisan
Member
 
Posts: 30
Joined: Fri Jun 29, 2012 17:30

by khonkhortisan » Fri Jan 17, 2014 05:13

The numpad is fixed on linux as of irrlicht r4669. You can download the latest stable irrlicht release 1.8.1, manually make that change, recompile irrlicht, and compile minetest linked to it.
Index: source/Irrlicht/CIrrDeviceLinux.cpp
===================================================================
--- source/Irrlicht/CIrrDeviceLinux.cpp (revision 4668)
+++ source/Irrlicht/CIrrDeviceLinux.cpp (revision 4669)
@@ -1061,7 +1061,7 @@
irrevent.KeyInput.Control = (event.xkey.state & ControlMask) != 0;
irrevent.KeyInput.Shift = (event.xkey.state & ShiftMask) != 0;

- event.xkey.state = 0; // ignore shift-ctrl states for figuring out the key
+ event.xkey.state &= ~(ControlMask|ShiftMask); // ignore shift-ctrl states for figuring out the key
XLookupString(&event.xkey, buf, sizeof(buf), &mp.X11Key, NULL);
const s32 idx = KeyMap.binary_search(mp);
if (idx != -1)
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40
Location: Germany

Re: Some number keys not working

by JPRuehmann » Thu Jun 19, 2014 13:08

Hello
I still got this Problem with LibIrrlicht 1.9
Thanks,
JPR
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

Re: Some number keys not working

by jp » Sat Jun 28, 2014 14:07

My "7" has never work for me (AZERTY keyboard). Thank you to fix that please...
 

User avatar
Gael de Sailly
Member
 
Posts: 731
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo

Re: Some number keys not working

by Gael de Sailly » Thu Aug 07, 2014 10:57

I have this problem too. The numpad don't work except 0 ; 3 ; 9. I have a Franch keyboard, and the 7 / è / ` key don't works at all.

It's very troublesome when an ip adress contains a seven. I haven't this problem before. At the beginning of the July month, I've updated Minetest from 0.4.9 to 0.4.10 and, some days after, updated my computer from Ubuntu 12.04 to 14.04, and re-installed Minetest 0.4.10. I don't know from which of these updates comes this seven key bug.

But now, copying-pasting on Minetest GUIs works, which wasn't the case before.
Last edited by Gael de Sailly on Mon Jan 22, 2018 00:42, edited 2 times in total.
Just realize how bored we would be if the world was perfect.
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
Location: On earth
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: Some number keys not working

by Minetestforfun » Wed Aug 13, 2014 00:41

Gael de Sailly wrote:I have this problem too. The numpad don't work except 0 ; 3 ; 9. I have a Franch keyboard, and the 7 / è / ` key don't works at all.

We are now 10 on the "Seven Petition". I am not criticizing the developers, they do what they can. Maybe they do not know more than me where is the origin of this bug.

It's very troublesome when an ip adress contains a seven. I haven't this problem before. At the beginning of the July month, I've updated Minetest from 0.4.9 to 0.4.10 and, some days after, updated my computer from Ubuntu 12.04 to 14.04, and re-installed Minetest 0.4.10. I don't know from which of these updates comes this seven key bug.

But now, copying-pasting on Minetest GUIs works, which wasn't the case before.


Same problem, french keyboard
 

cheapie
Member
 
Posts: 315
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

Re: Some number keys not working

by cheapie » Wed Aug 13, 2014 09:48

I'm using the US-International keyboard layout, and the only number pad keys that work for me are 0, 3, and 9.
 

User avatar
Gael de Sailly
Member
 
Posts: 731
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo

Re: Some number keys not working

by Gael de Sailly » Mon Oct 06, 2014 13:38

Gael de Sailly wrote:But now, copying-pasting on Minetest GUIs works, which wasn't the case before.

In fact, it depends on the GUI : in the new version of VanessaE's Signs Library, it doesn't work. For example i play in the VanessaE's Vanilla Server. I've made a long tunnel and I wanted to put a sign which shows the name and the length of the tunnel (as we can see on the French highways). 177 nodes : I had to round it to 180.
 

TammaraBc3
New member
 
Posts: 2
Joined: Thu Oct 16, 2014 14:51

Re: Some number keys not working

by TammaraBc3 » Thu Oct 16, 2014 22:33

Zeg9 wrote:Hello, I have a problem since I switched to arch linux (I had other problems before, too, but they are fixed now):
Some number keys are not working, including half of the keypad, and the 7 key (numpad AND the other one).
It seems they are detected as other keys, then ignored.
If I set the keymap to qwerty, the 7 key works (I have an azerty keyboard), the numpad still doesn't work though.
If I add qwerty in the keymap list (but I keep azerty on first pos), it seems to work, but some software become in qwerty...
Anyone has an explanation or, even better, a fix to that ? :s
Oh, and I am on a 64 bit architecture, and I use xfce (the issue happens on other DEs too)
Thanks for reading.


Were you able to solve the problem? I'm using AZERTY keyboard as well and numpad don't work for me either.
Tammara
Interpretting any dream is simple with this cool dream analysis website. If you want to interpret any dream then be sure to visit dreamdictionarynow. to decode your dreams.
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 1 guest