Acer Aspire 5920G keymap patch

Danny Kukawka danny.kukawka at web.de
Mon Feb 2 04:55:56 PST 2009


On Montag, 2. Februar 2009, Martin Pitt wrote:
> Hello Nikolay,
> 
> Nikolay Borisov [2009-02-02 12:49 +0300]:
> > Hello Martin,
> > 
> > I checked all the keys and special combinations when trying to figure
> > out if all of them are recognized as I expect.
> > As of 'prog1' code, it is assigned to the 'blue E' button. But I could
> > not find any key with 'prog2' though it is assigned to 'e073' scancode.
> > So I thought it was reasonable to correct the mapping with the patch.
> 
> Should have expressed myself more clearly:
> 
> +         <remove key="input.keymap.data" type="strlist">e073:prog2</remove>
> 
> I was wondering about this line, since it removes an existing
> keybinding. Do you know which key that is, and why it explicitly needs
> to be removed?
> 
> +         <append key="input.keymap.data" type="strlist">e012:prog2</append>
> 
> That part is clear.

1) It shouldn't be a problem to assign e012 and e073 to prog2 as long as there 
is no machine with both keycodes.
2) We can also assign prog3 to e012 instead. Not sure if this is a good idea 
if there is may prog1 and prog3, but not prog2 available.
3) The current patch shouldn't be also a problem at all since it's only for 
this machine.

Danny


More information about the hal mailing list