[haiku-commits] Re: r43210 - haiku/trunk/src/preferences/keymap

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 09 Nov 2011 10:37:35 +0100

On 09.11.2011 10:25, Adrien Destugues wrote:
Sure, but that's exactly how Alt-Gr is handled on any other keyboard
know. It's a special key that replaced the right Alt key. So where
exactly is the problem of the French keymap?
Why can't it just map the Alt-Gr and the right Win key to the same
as for example the German or US-International keyboards do?

Currently, AltGr and left win key have the same code, but right win key
is the same as Alt. I don't know why it was made this way, and I don't
see why we shouldn't add an extra modifier as altgr and win definitely
aren't the same thing ? :)

As I understand it, there is a distinction in key codes between left and right Alt and left and right Win key. So if Alt-Gr physically replaces right Alt on a French keyboard, it would appear the keymap needs fixing, but it can be done without introducing another code, no?

Best regards,

Other related posts: