Homebrew Top edit and Azerty Keyboard not recognized

ravaillac

New Member
OP
Newbie
Joined
Jul 30, 2007
Messages
2
Trophies
0
XP
90
Country
France
Hi, i m using topedit with a logitech keyboard but i havé a problem : my azerty keyboard is recognized as a qwerty keyboard ....
I have an européen Wii ...

What CAN i do ?

Tanks for your help
 

PsyBlade

Snake Charmer
Member
Joined
Jul 30, 2009
Messages
2,204
Trophies
0
Location
Sol III
XP
458
Country
Gambia, The
keyboards do not report which language they are or which glyph was pressed
only which coordinate the key was on

support for different keyboards must be implemented in software
usually the OS handles this

the wii does not have a real OS
unless ios does this (not sure but I doubt it) the program must do this

all you can do if it does not is to:
-ask the author
-code it yourself
-get a compatible keyboard
-look if you can switch the keys around to make it compatible
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
libwiikeyboard (the usb keyboard library in libogc) does support different keymaps but by default it uses the wii's region to guess which one should be used.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
its been a long time since i messed with it, but IIRC it was quite easy to change the keyboard layout for libogc apps. i had to create a file on the root of the SD card with 1 or 2 lines of text in it. then each libogc app sees it when they initialise the keyboard library and use it to determine the layout.

you can look at the keyboard parts of the libogc source code to see the filename and which lines it looks for.


EDIT>>
I just had a look at that portion of the libogc code. It looks like the file it opens is "/wiikbd.map". and the strings in the .h file are
CODE
#define KB_ENCTAB \
{ KB_USER, "user" }, \
{ KB_US, "us" }, \
{ KB_DE, "de" }, \
{ KB_DK, "dk" }, \
{ KB_IT, "it" }, \
{ KB_FR, "fr" }, \
{ KB_UK, "uk" }, \
{ KB_JP, "jp" }, \
{ KB_SV, "sv" }, \
{ KB_NO, "no" }, \
{ KB_ES, "es" }, \
{ KB_HU, "hu" }, \
{ KB_BE, "be" }, \
{ KB_RU, "ru" }, \
{ KB_UA, "ua" }, \
{ KB_SG, "sg" }, \
{ KB_SF, "sf" }, \
{ KB_PT, "pt" }, \
{ KB_LT, "lt" }, \
{ KB_LA, "la" }, \
{ KB_BR, "br" }, \
{ KB_NL, "nl" }, \
{ KB_TR, "tr" }, \
{ KB_PL, "pl" }, \
{ KB_SI, "si" }, \
{ KB_CF, "cf" }, \
{ KB_LV, "lv" }

#define KB_VARTAB \
{ KB_NODEAD, "nodead" }, \
{ KB_DECLK, "declk" }, \
{ KB_LK401, "lk401" }, \
{ KB_SWAPCTRLCAPS, "swapctrlcaps" }, \
{ KB_DVORAK, "dvorak" }, \
{ KB_METAESC, "metaesc" }, \
{ KB_IOPENER, "iopener" }, \
{ KB_MACHDEP, "machdep" }, \
{ KB_APPLE, "apple" }


Im thinking that i just had to put the line "us-dvorak" into sd:/wiikbd.map and it worked. so i would assume that you can put "fr" in that file and cross you fingers. also, the program will have had to already initialized the SD card before they initialized the keyboard or else it wont be able to open the file.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM