Re: iTask produces same X keycode as keyboard Home key

From: pHilipp Zabel <philipp.zabel_at_gmail.com>
Date: Thu, 12 Jan 2006 17:56:44 +0100

On 1/12/06, Todd Blumer <todd_at_sdgsystems.com> wrote:
> 'Home' seemed like a reasonable default since iTask seems to be (?) a
> Windows-specific function. You can change the defaults in the kernel:
> hx4700.c (pxa GPIOs) and hx4700_ts.c (asic3). I'm not sure if there's
> another way. Also, some of the attempts to use other defaults failed at
> the Linux keyboard driver, so we just used what worked and mapped them
> to functions in userland (Qtopia in my case). (You'll see that F9, F12,
> etc. were also used.)

Hm. Looking at the xmodmap files in xserver-common, I see that the
keycode mapped to XF86Start is 96 (F12) for a716 and h1910, 48 for
collie, 78 for h2200, 75 for h6300 and 110 (home) for hx4700. Is it
reasonable to let every machine have another keycode for this?
In the asic2 driver it's mapped to KEY_HP with an /*!*/ in the code.
Then again, although there's a BTN_START for gamepads and a BTN_TASK
for mice, the kernel's include/linux/input.h doesn't contain a fitting
KEY for this.

regards
Philipp
Received on Thu Jan 12 2006 - 14:00:26 EST

This archive was generated by hypermail 2.2.0 : Thu Jan 12 2006 - 14:00:30 EST