[Coco] xroar keyboard definitions

Christopher R. Hawks chawks at dls.net
Sat Apr 30 10:38:33 EDT 2022


On Sat, 30 Apr 2022 18:13:22 +0900
Joel Rees via Coco <coco at maltedmedia.com> wrote:

> I'm trying to compile a Japanese keyboard definition for the current
> source, and I'm not figuring out how to get the source code in
> src/gtk2/keyboard_gtk2_mappings.c to be recognized when compiled.
> 
> Would appreciate help.
> 

    Not sure what you mean by 'recognized', but, line 103 in 
src/gtk2/keyboard_gtk2.c includes it. So it is compiled into
src/gtk2/xroar-keyboard_gtk2.o

does 'xroar -keymap help' show your new name and description along
with the originals??

Manfred(chrish)$ xroar -keymap help
        uk         UK
        be         Belgian
        de         German
        dk         Danish
        es         Spanish
        fi         Finnish
        fr         French
        fr_CA      Canadian French
        ie         Irish
        is         Icelandic
        it         Italian
        nl         Dutch
        no         Norwegian
        pl         Polish QWERTZ
        se         Swedish
        us         American
        dvorak     DVORAK

    If so, it is in there. add '-keymap jp' to your starting incantation
or 'keymap jp' to ~/.xroar/xroar.conf to use it.


Christopher R. Hawks
HAWKSoft
-- 
Spotted in a safari park:
(I sure hope so.)
ELEPHANTS, PLEASE STAY IN YOUR CAR.
----------------------------------------
       \   ^__^                         
        \  (oo)\_______                 
           (__)\       )\/\           
               ||----w |                
               ||     ||                


More information about the Coco mailing list