Stephan Assmus wrote:
Yep it looks like a bug! And we should have those two values inverted in the faulty keymap files, giving: RCommand = 0x5f and ROption = 0x60 like in the us keymap. At least it works well here on my fr keymap, i was hesitant to do it on all keymaps since it could have broke some particular cases i wasn't aware of.-------- Original-Nachricht --------Datum: Tue, 19 Aug 2008 19:40:29 +0200 Von: Alexandre Deckner <alex@xxxxxxxxxxxx> An: haiku-development@xxxxxxxxxxxxx Betreff: [haiku-development] Keymaps and Command keyHi! I've noticed that with my keymap (french), the right command key and right option key are switched compared to the us keymap (japanese and uk too).I've got RCommand = 0x60 and ROption = 0x5f. Almost all keymaps are like this.The problem is that the check in menu preflet fails (since those values are hardcoded there too) and says i'm in Ctrl mode although i'm in Alt mode. Selecting Alt again rewrites these hardcoded values so that following runs are fine.See src/data/etc/keymaps and src/preferences/menu/MenuSettings.cpp Is there any reason behind this variation?I think it's a bug. But I don't know which values are the correct ones. I mean I don't know if all the keymaps need fixing or MenuSettings.cpp.
Regards, Alex