Point on num keypad produces a comma

Questions about Wine on Linux
Locked
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Point on num keypad produces a comma

Post by LMLM »

The point (.) key and the comma (,) key on my numeric keypad work correctly with Linux applications.

But both produce a comma if I'm typing into a Windows application. Any Windows application.

Is there any way to fix that?
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: Point on num keypad produces a comma

Post by invisible kid »

Sorry, this won't be too helpful, but I noticed on my numeric keypad I only have a period, no comma. I only mention this because it might help you debug your issue. Good luck.
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Re: Point on num keypad produces a comma

Post by LMLM »

You make a valid point. This is the keyboard layout that I have:

https://www.logitechstore.com.br/media/ ... k120_1.png

In xev, the point is keycode 129 (keysym 0xffae, KP_Decimal) and the comma is keycode 91 (keysym 0xffac, KP_Separator).

Thank you for your attention.
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: Point on num keypad produces a comma

Post by invisible kid »

I have the same keyboard.

This doesn't sound like a Num-Lock type of issue, but it's so easy to check, make sure to try hitting that just in case.

Okay, when I hit the period key on my numpad I get:

state 0x0, keycode 91 (keysym 0xff9f, KP_Delete), same_screen YES,

That makes a bit more sense, because the key is marked Del. I don't know what key to press on the numpad for a comma though.
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Re: Point on num keypad produces a comma

Post by LMLM »

invisible kid wrote: Mon May 03, 2021 4:56 pm I have the same keyboard.
(...)
Okay, when I hit the period key on my numpad I get:
That makes a bit more sense, because the key is marked Del. I don't know what key to press on the numpad for a comma though.
Then you don't have the same layout as I do. Some layouts have 17 keys in the numeric keypad, such as this:

http://3.bp.blogspot.com/-nYHpY87Yn00/V ... c_ABNT.png

Your "Del" key produces a point and there is no comma.

My numpad has 18 keys and looks like this:

https://a-static.mlcdn.com.br/618x463/t ... 542208.jpg

or this:

https://a-static.mlcdn.com.br/618x463/t ... 0829ff.jpg

We have different numeric keypads.
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: Point on num keypad produces a comma

Post by invisible kid »

Ah, okay, I gotcha, to put it into words it looks like(In some of the pics it's hard to see if it's a period or a comma):

http://3.bp.blogspot.com/-nYHpY87Yn00/V ... c_ABNT.png
Num Lock, /, *, -
7/Home, 8/up arrow, 9/PgUp, +
4/left arrow, 5, 6/right arrow
1/End, 2/down arrow, 3 PgDn, Enter
0/Ins, ./Del
17 keys

https://a-static.mlcdn.com.br/618x463/t ... 542208.jpg
Num Lock, /, *, -
7/Home, 8/up arrow, 9/PgUp, +
4/left arrow, 5, 6/right arrow, .
1/End, 2/down arrow, 3 PgDn, Enter
0/Ins, ,/Del
18 keys

https://a-static.mlcdn.com.br/618x463/t ... 0829ff.jpg
Num Lock, /, *, -
7/Home, 8/up arrow, 9/PgUp, +
4/left arrow, 5, 6/right arrow, .
1/End, 2/down arrow, 3 PgDn, Enter
0/Ins, ,/Del
18 keys

So now I see why you get those descriptors from xev. And I can also see why it might happen as the comma in the 18 key versions is in the spot of the period/decimal in the 17 key versions. Unfortunately I cannot help any more because I don't have a keyboard with that layout. Hopefully someone will come along that knows something, good luck.
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: Point on num keypad produces a comma

Post by invisible kid »

One thing you might try if you haven't already, is check how the keyboard behaves in an actual windows environment. If you have, post the results, it might be helpful.
Locked