[haiku-development] Re: AltGr Key, key_map, and the US-International Keyboard

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 29 Mar 2012 17:37:53 -0400

On Thu, Mar 29, 2012 at 5:25 PM, John Scipione <jscipione@xxxxxxxxx> wrote:
> On Thu, Mar 29, 2012 at 3:38 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
>> John Scipione wrote:
>>> The only problem is, is adding more maps to the key_map struct going
>>> to break backwards compatibility? Do we care?
>>
>> Unless I'm mistaken one wouldn't usually allocate a key_map structure in an 
>> application. So if the new stuff is added at the end, there shouldn't be any 
>> compatibility issue for old applications.
>
> I was worried that there might be alignment issues if I put the maps
> at the end since they are uint32[128] arrays so I put them in the
> middle with all the other maps.

At some point I'd also like to add yet more maps and a version 5
keymap to support the extra keys found on Japanese keyboards as well.

John Scipione

Other related posts: