A few questions on correct key mappings

Carlos Corbacho cathectic at gmail.com
Sun Jul 22 05:30:16 PDT 2007


Hello,

I'm currently about to submit a few more Acer keymaps I've gathered, and
have a few questions:

(The laptops I get information on are from 2005 and newer Acer laptops.
These differ from the older ones in that they don't need acerhk or
wistron_btns polling to produce keycodes, they all generate scancodes - and
for the most part, they all seem to generate the same scancodes).

1) A lot of these laptops have both a Euro and a Dollar key either side of
the "up" arrow key. At the moment I'm just mapping them to F14 and F15
respectively, but is there something better to use (or should I just mark
them as 'FIXME' for now until a better solution comes along)?

2) Fn+F3 is described as "Launches the Power Scheme Window". On Windows,
this pulls up a list of the different powerschemes which can be used (e.g.
Always On, Home/ Desktop, etc...) and lets you switch between them. At the
moment I mapped this to KEY_POWER2, should this be KEY_POWER or something
else?

3) Fn+F5 is the Display Toggle - described as "Switches display output
between the display screen, external monitor (if connected) and both". I
mapped this as KEY_SWITCHVIDEOMODE, but from hotkey-setup, I've seen
KEY_VIDEOOUT used instead - which key code best matches what this should
do?

-Carlos
-- 
E-Mail: cathectic at gmail.com
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D



More information about the hal mailing list