Port-hpcsh archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Mapping "HP hard icons" to key presses



I've just committed this.

On Tue, Nov 04, 2003 at 03:43:12 +0000, Valeriy E. Ushakov wrote:

> Module Name:  src
> Committed By: uwe
> Date:         Tue Nov  4 03:43:12 UTC 2003
> 
> Modified Files:
>       src/sys/arch/hpcsh/conf: files.hpcsh
>       src/sys/arch/hpcsh/dev: j6x0tp.c
> 
> Log Message:
> Provide wskbd* at j6x0tp? attachment that maps taps on the "HP hard
> icons" (along the right edge of the screen) to key presses.

So now you can say in your kernel config:

j6x0tp*         at adc?                 # touch panel
wsmouse0        at j6x0tp? mux 0        # - as a pointing device
wskbd1          at j6x0tp? mux 1        # - "hard icons" as keys
# Do not convert hard icons to key presses while serving mouse input.
#options        J6X0TP_WSMOUSE_EXCLUSIVE
# Customization for the mini-keymap of hard icons.
#options        J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
#options        J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
#options        J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
#options        J6X0TP_SWITCH_ICON_KEYSYM="KS_End"

and tapping the on-screen "hard icons" will get translated to key
presses.  The keymap is customizable via options, the commented out
examples in the above snippet are the defaults.

Enjoy.

SY, Uwe
-- 
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



Home | Main Index | Thread Index | Old Index