Forums » Linux

Need help reMapping a Logitech G13 Keypad

Jan 16, 2010 PaKettle link
Link for driver:
http://www.nexoid.at/g13/

The original Mapping duplicates Keys I want to use for other purposes such as nmuber keys 1 - 0 which are taken by the Tls plug in for targe selection.

I am attempting to remap my keypad but It appears VO does not recognise / support very many of the non-traditional keyboard codes such as Fn_F1 function keys which are defined in /usr/src/linux/include/linux/input.h

It would help to know exactly what keys VO does recognise and/or What the correct codes might be for high numbered Joystick buttons.

Thank you.

F Keys not recognised
f13 = 183 = 00b7
f24 = 194 = 00c2 = g19

Function Keys not recognised (mac?)
fn_f1 = 1d2
fn_f12 = 1dd
Jan 16, 2010 vskye link
I've been considering one of these also, let me know how things work out. Thanks
Jan 17, 2010 PaKettle link
Well first the bad news...
the driver I listed is the only support for it under linux - so far :}

The default keymap duplicates a lot of the keys I am using for other stuff in VO like the number keys and F keys. - Which is why this thread...

There is no VO support for the lcd display but I can say the driver does work.

Driver does allow you to setup the lighting but you have to guess at the right codes - good luck

On my box I had to hand copy the driver into the kernal modules folder - Suse insists I guess..

You must compile your own copy but the operation went perfect for me. - Could be a problem if you are not set up for it.

OK - Now the good news.
The keypad works nicely and is very comfortable to use - The joystick is not very precise but easier then a game pad to use. It would be even better if they made one for the right hand to use in a dual stick setup but no dice. The pad is heavy and does not move in use either.

Final Comments: the 3 joystick buttons are not well suited for use in combat - however there are plenty of easily used keys elsewhere to make up for it - I configured the 3 joy buttons to turbo and brake. Lastly the thing almost has too many buttons and is going to take me some time to setup and learn the layout.

Summary: Inspite of the problems - Me Likey a lot!
Jan 17, 2010 PaKettle link
Well ....

its not so good for accurate steering ie aiming.
works just fine for strafing...

Good for a two stick setup. Would not suggest it for a one stick setup.
Jan 18, 2010 PaKettle link
This mapping seems to work ok for me

0002 0003 0004 0005 0006 0007 0008 004f 0050 0051 004b 004c 004d 0047 0042 0043 0044 0057 0058 0048 0049 0052 0120 0121 0122 01d5 01d6 01d7 01d8 0000 01da 01db 01dc 01dd 0000
G01 G02 G03 G04 G05 G06 G07 G08 G09 G10 G11 G12 G13 G14 G15 G16 G17 G18 G19 G20 G21 G22 JB00 JB01 JB02 M001 M002 M003 M004 BL L001 L002 L003 L004 BR


BL L01 L02 L03 L04 BR

M01 M02 M03 M04

TLS Target Selection
G01 G02 G03 G04 G05 G06 G07 - 1-7 Keys

Rdr Selection
G08 G09 G10 G11 G12 G13 G14 - 1-6 Keypad keys

F08 F09 F10 F11 F12
G15 G16 G17 G18 G19

F/A A/A
G20 G21 G22 - 8,9,0 keypad keys
Jan 18, 2010 vskye link
Nice. Now I just have to buy one, and hopefully your mapping info won't have me flying around in circles and such forever. lol Seriously though, thanks for all the info. :)
Jan 18, 2010 PaKettle link
No problem - If the info helps even one then Its worth it even if I get killed later by it :P