Keyboard: Defining a new keymap
  • Order of the Butterfly
    Order of the Butterfly
    Hawk
    Posts: 204 from 2003/12/29
    From: Tokyo - Japan
    I downloaded from Aminet KME editor (the other didn't seem to work) and edited a new keymap. It's this file:

    http://nakajima-www.cs.titech.ac.jp/~david/morphos/pc105_ja

    Copy it to SYS:MorphOS/Devs/Keymaps. However, the japanese keyboard has more keys, but KME doesn't seem to recognize them. How can I add those keys? I can not type the vertical bar and some other symbols... ^^; I tried connecting a keyboard to the USB port and use Poseidon to remap some keys, but it didn't work...

    Any help?
    Pegasos II G3@600Mhz (no fan) 512MB RAM (1 slot)
    -- Maxtor 6Y120P0 120GB, 7200 rpm -- ATI Radeon 7500 - (64MB, TV-out)
    -- Minuet Slimline PC case -- MorphOS 1.4.5 + Gentoo
    EFIKA
  • »17.04.04 - 04:35
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    You can use KME to assign those special characters to <ALT><key> and <ALT><SHIFT><key> combinations. Most of these combinations are not used in native MorphOS keymaps.

    You can also take on original AmigaOS keymap (they work fine in the MorphOS environment) and directly use all the <ALT><key> and <ALT><SHIFT><key> combinations already predefined therein. And of course you can also use KME to remap those keys and characters according to your needs.

    KME works fine on MorphOS, but it can only address the keys present on an original Amiga keyboard. We need a programmer! I think it should be reasonably simple to modify the source of an existent keymap editor inserting management of all keys (unfortunately KME is written in Modula2/Oberon...).
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »17.04.04 - 22:26
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    hiTCH-HiKER
    Posts: 169 from 2003/12/31
    It would be great to use the page up/down keys for something usefull
    in MorphOS and also in SSH connections to Linux clients!
  • »17.04.04 - 22:30
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Bladerunner
    Posts: 418 from 2004/2/19
    Hawk:
    Hmm Did you update to the latest Version of Poseidon? You should then be able to edit every key on your keyboard as you like
  • »17.04.04 - 23:43
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    I have some problems with the KME: I want to use hungarian keyboard, and it has one key in the topmost line of the alphabetic area, which I can't map. The key worked fine on my old Amiga with a keyboard adapter (well, I use PS/2 keyb). Is there any other Keymap editor?

    Another question: will MOS ever able to use the new "pc keys" (Insert, Home, End, Page Up/Down, Print Screen) and Num Lock? And the Sleep/Shut Down/Week Up keys? (Ofcoz not without Poseidon.)
    [ GK / LKA Team ]
  • »29.06.04 - 12:17
    Profile Visit Website
  • scf
  • Cocoon
    Cocoon
    scf
    Posts: 54 from 2003/6/3
    From: Ukraine
    You can contact jvovka@belnet.ru, he is developing keymap editor for MorphOS.
  • »29.06.04 - 14:41
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    Thanks. I was dropped him a mail.

    [ Edited by GK_LKA on 2004/6/30 17:12 ]
    [ GK / LKA Team ]
  • »30.06.04 - 16:12
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    Quote:


    (unfortunately KME is written in Modula2/Oberon...).



    What is that unfortunate ?
    I don't think this program will get any faster if compiled native for PowerPC by gcc ;-)
    Pegasos PPC
  • »03.07.04 - 11:03
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    The code of KME would be of help to avoid to start programming a new keymap editor from scratch. "Unfortunately" Modula2/Oberon code is probably useless for a C programmer.

    I hope that Vovka, mentioned above, will finally release a new MorphOS-native keymap editor.

    Sometimes I'm tempted to create a list of all those useful small utilities that we still miss on MorphOS because the Amiga original programs do not run or have some new features lacking...

    Regards
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »03.07.04 - 18:35
    Profile Visit Website
  • Caterpillar
    Caterpillar
    vovka
    Posts: 24 from 2004/5/9
    From: Russia
    i do my best... but still no time nor help.
  • »03.07.04 - 22:09
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    What you have already done is very impressing, so I think it's now only some bigfixes to be done. (I've got a beta version :P)

    [ Edited by GK_LKA on 2004/7/3 23:54 ]
    [ GK / LKA Team ]
  • »03.07.04 - 22:54
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    I have debuggered and compiled KME now.
    Suggestions are welcome.
    In case of Oberon sourde code, always contact the Wishmaster.

    [ Edited by Wishmaster on 2004/7/6 23:57 ]
    Pegasos PPC
  • »06.07.04 - 22:56
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    I modified my keymap to better suit my needs now.
    Which keys are missing that you would like to redefine ?
    I think the extra keys are all already assigned.
    The programs only have to use them.
    Pegasos PPC
  • »07.07.04 - 15:02
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    Hey Wishmaster,

    a guy with your competence was expected by many MorphOS users!

    You ask for all the keys missing in KME. You should add the following keys to the inner keyboard layout of KME:

    F11
    F12
    All the keys in the intermediate group (between the alphanumeric keys on the left and the numeric keypad on the right) except the arrow keys and the DELETE key.
    The NumL key in the numeric keypad is not addressed by KME (see below for details).

    Mapping all these keys into the keymaps generated by KME will allow us to gain control on their new functionalities.

    If you are a perfectionist, you could also modify the inner keyboard layout of KME, just to take into account the different layout of the keys on a PC keyboard:

    The Amiga tilde (~) key is lost and is substituted by the backslash (\) key.
    The BACKSPACE key is larger because it covers the position of the Amiga backslash (\) and BACKSPACE keys.
    There are two CTRL keys.
    The CAPS LOCK key is larger because it substitutes the CAPS LOCK and CTRL keys of Amiga keyboards.
    Positions of ALT and AMIGA keys are interchanged.
    The HELP key is now mapped onto the MENU key.
    The numeric keypad square bracket ( [ , ] ) keys of the Amiga are absent. They should be mapped respectively onto the NumL and ScrL keys (the latter is in the intermediate group of keys, and both are not recognized by KME). Since the ScrL key has moved elsewhere, all the remaining operation keys in the numeric keypad are shifted accordingly, and the + key is two times larger than on the Amiga.

    It is clear that the latter list contains mainly cosmetic issues that could be addressed subsequently.

    If you decide to give a try and integrate/modify the KME code you already translated, I will be very happy to be your betatester.

    Regards
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »07.07.04 - 22:59
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    Thank you for your suggestions DoctorMorbius.

    I have compiled it now with some extra keys added.
    I have not reworked the gfx images for the keys, yet.

    http://people.freenet.de/amiga1200ppc/bin/KME.lha

    Regards


    [ Edited by Wishmaster on 2004/7/17 19:26 ]
    Pegasos PPC
  • »08.07.04 - 05:34
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    BatteMan
    Posts: 284 from 2003/2/24
    From: France
    I bought a keyboard 'Ennyah Slim' without second "windows"... But this keyboard have two "Ctrl", and I don't use the two, so I want to remap the right "Windows" on my right "ctrl", but I don't find the "special controls code" for the "Right Amiga".

    If someone knows that, it'll be great to say it to me :-D

    Thank you.
    Proud user of MorphOS since 2003 !
  • »28.09.04 - 11:51
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Hawk
    Posts: 204 from 2003/12/29
    From: Tokyo - Japan
    Me with the same problem here. I tried with the new version of KME but it seems is not possible to remap Amiga keys...

    Actually, I have a japanese keyboard, with 4 keys I don't use (HENKAN, MUHENKAN, KATAKANA...), and just 1 "windows" key... I need the right one to do copy-paste!

    any idea?
    Pegasos II G3@600Mhz (no fan) 512MB RAM (1 slot)
    -- Maxtor 6Y120P0 120GB, 7200 rpm -- ATI Radeon 7500 - (64MB, TV-out)
    -- Minuet Slimline PC case -- MorphOS 1.4.5 + Gentoo
    EFIKA
  • »11.10.04 - 03:57
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BatteMan
    Posts: 284 from 2003/2/24
    From: France
    No idea... I also tried to contact the author of KME MorphOS, but the mail in the doc is invalid... so...

    But, someone tells me one thing : "it's impossible to remap Amiga keys on a keymap, 'cause they are blocked. But, you can redefine Amiga Keys on an usb keyboard with Poseidon".

    But, I have a PS2 Keyboard now...
    Proud user of MorphOS since 2003 !
  • »11.10.04 - 09:09
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 894 from 2004/1/24
    From: #AmigaZeux
    Did you try Keymorpher?

    https://morph.zone/modules/mydownloads/singlefile.php?lid=177
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »11.10.04 - 15:45
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Hawk
    Posts: 204 from 2003/12/29
    From: Tokyo - Japan
    @stevo:

    Thank u! It's very good :D

    Still, there are some keys I can't configure (the extra keys in japanese keyboards), and there seems there is no way to map the Amiga key to another...
    Pegasos II G3@600Mhz (no fan) 512MB RAM (1 slot)
    -- Maxtor 6Y120P0 120GB, 7200 rpm -- ATI Radeon 7500 - (64MB, TV-out)
    -- Minuet Slimline PC case -- MorphOS 1.4.5 + Gentoo
    EFIKA
  • »11.10.04 - 18:04
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BatteMan
    Posts: 284 from 2003/2/24
    From: France
    Hawk : Yes, the problem is always present...
    Proud user of MorphOS since 2003 !
  • »11.10.04 - 21:06
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    About PgUp/PgDn/etc:
    1. You can already use them in ixemul-aware programs by downloading my ncurses/termcap from gg.portail-e.com and setting TERM to "morphos".
    2. The only way to use them in native AmigaOS software is to remap them to the same sequences as "Shift+Up/Shift+Dn", this will work in the most of software (which suports Shift+cursor keys), but this will break compatibility with new software which knows new keys by itself.
    iPod, iBook, iMac,... iRobot?
  • »12.10.04 - 15:11
    Profile Visit Website