AmiKit - Your Modern Retro Experience
  Begin Register Reply Search Statistics AmiKit X  QuickGuide  SATISFIED WITH OUR SUPPORT? 
Online now: Guests - 2
Members - 0
Most users ever online: 605 [18 Apr 2019 18:52]
Guests - 605 / Members - 0
Installation questions AmiKit Support Forum / Installation questions /  
 

Non-us keyboard map

 
Author AmigaPhil
Guest
#1 Posted: 4 Feb 2011 20:21 
I've recently installed AmiKit on Linux, and I'm glad I now have a working nice Amiga environment again.

But I need to fine tune the settings a bit...

First is the keyboard. Mine has a Belgian layout.
http://en.wikipedia.org/wiki/Keyboard_layout#Belgian

I've set kbd_lang=fr in .uaerc and selected french for the keyboard in AmiKit.
I now have a azerty type keyboard, but a lot of keys are missing/misplaced (like all the num keys above the alphabetic ones).

Has anyone successfully configured E-UAE/AmiKit to make full use of a non-us (default) keyboard ? How ?

Author Tarzin
Partaker
#2 Posted: 5 Feb 2011 08:08 
AmigaPhil
I can provid my french Keymap which is fully working with my WinUAE/Amikit
You can get it here:
http://www.amifrance.hw.tc/

in Amikit section

Author AmigaPhil
Guest
#3 Posted: 5 Feb 2011 20:49 
I solved the problem of the missing keys by setting sdl.map_raw_keys=true in .uaerc

Now I think I just have to find a (pc104) b keymap to use on the Amiga side, or build my own one (using KME ?)

Author AmigaPhil
Guest
#4 Posted: 6 Feb 2011 20:25 
Done.
Remapped the Belgian specific keys using KeyMapEd from Aminet.

Author AmigaPhil
Guest
#5 Posted: 12 Feb 2011 22:30 
Still, with the sdl_map_raw_keys=true setting, the cursor keys now are not working.
But this is not something that can be fixed on the Amiga side.
See here:
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=33198&forum=8

Author modrobert
Partaker
#6 Posted: 27 Oct 2012 19:01 
Still, with the sdl_map_raw_keys=true setting, the cursor keys now are not working.
But this is not something that can be fixed on the Amiga side.


Try adding these lines to your .uaerc file:

input.1.keyboard.0.button.111=KEY_CURSOR_UP.0
input.1.keyboard.0.button.113=KEY_CURSOR_LEFT.0
input.1.keyboard.0.button.114=KEY_CURSOR_RIGHT.0
input.1.keyboard.0.button.116=KEY_CURSOR_DOWN.0

If these keys fail (111,113,114,116), you can check SDL key codes by compiling this C source code:

sdl_test_key.c

Use this command to compile:

gcc sdl_test_key.c -o sdl_test_key -lSDL

Run ./sdl_test_key and click on the window that opens, the output from your key presses will look like this example:

Press:- Scancode: 0x6F (111), Name: up, Unicode: ? (0x0000)

The decimal code in this case is 111 for the cursor "up" key, so that means the line should be like this in .uaerc:

input.1.keyboard.0.button.111=KEY_CURSOR_UP.0

Note the '111' part on the line above.

Installation questions AmiKit Support Forum / Installation questions /
 Non-us keyboard map

Your Reply Click this icon to move up to the quoted message


 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

 
AmiKit Support Forum Powered by Forum Script miniBB ®
 ⇑