You are not logged in.

#1 2015-06-06 20:46:57

surrealistic
Member
Registered: 2011-07-24
Posts: 102

Problem with gamer keyboard. Keys with same keycode.

Hi!

I just set up a keyboard for gaming in my laptop and when I went to try it CTRL, Alt, Super and Alt Gr keys  doesn't work, instead of its function, system recognizes it as SHIFT key :S.

I'm searching about my problem and I haven't found information about problem, just this problem happened to more people.


I've tried it on Windows 8.1 and there haven't problems :S

Can anyone help me?

Thank you!! big_smile

Last edited by surrealistic (2015-06-07 08:51:33)

Offline

#2 2015-06-07 07:23:20

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Problem with gamer keyboard. Keys with same keycode.

You might want to look into the chosen keyboard layout [1,2]. Otherwise you can try remapping the scancodes of the keys to the desired keycode/function. [3]

[1] https://wiki.archlinux.org/index.php/Ke … on_in_Xorg
[2] https://wiki.archlinux.org/index.php/Ke … in_console
[3] https://wiki.archlinux.org/index.php/Ex … board_keys

Offline

#3 2015-06-07 08:50:55

surrealistic
Member
Registered: 2011-07-24
Posts: 102

Re: Problem with gamer keyboard. Keys with same keycode.

Thank you runical, I tried it with the links you put and I saw the problem is that SHIFT L, SHIFT R, CTRL L, CTRL R, Super, Alt and Alt Gr have the same keycode (42).


Is there any way to change the keycode to each key?

Thanks!! big_smile

Last edited by surrealistic (2015-06-07 10:42:51)

Offline

#4 2015-06-07 12:18:03

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Problem with gamer keyboard. Keys with same keycode.

Do they also have the same scancode? If not, you can probably remap the scancode to the correct keycode. If they do have the same scancode, you'll have to ask someone with more knowledge than me...

Offline

#5 2015-06-07 12:28:35

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: Problem with gamer keyboard. Keys with same keycode.

Something similar was just recently on the mailing list.
Here or here


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#6 2015-06-07 13:47:07

surrealistic
Member
Registered: 2011-07-24
Posts: 102

Re: Problem with gamer keyboard. Keys with same keycode.

runical wrote:

Do they also have the same scancode? If not, you can probably remap the scancode to the correct keycode. If they do have the same scancode, you'll have to ask someone with more knowledge than me...

Yes, it's. They have the same scancode sad

Offline

Board footer

Powered by FluxBB