xref: /netbsd-src/share/man/man4/man4.hpcsh/j6x0tp.4 (revision d1001802a589d43da74cc8eaa3f2e7dfaa249520)
1.\"	$NetBSD: j6x0tp.4,v 1.4 2004/04/04 17:06:45 uwe Exp $
2.\"
3.\" Copyright (c) 2003 Valeriy E. Ushakov
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. The name of the author may not be used to endorse or promote products
15.\"    derived from this software without specific prior written permission.
16.\"
17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.Dd November 5, 2003
30.Dt J6X0TP 4 hpcsh
31.Os
32.Sh NAME
33.Nm j6x0tp
34.Nd driver for Jornada 680 touch-screen
35.Sh SYNOPSIS
36.Cd "j6x0tp* at adc?"
37.Cd "wsmouse* at j6x0tp? mux 0"
38.Cd "wskbd* at j6x0tp? mux 1"
39.Pp
40.Cd options J6X0TP_WSMOUSE_EXCLUSIVE
41.Cd options J6X0TP_SETTINGS_ICON_KEYSYM=keysym
42.Cd options J6X0TP_PGUP_ICON_KEYSYM=keysym
43.Cd options J6X0TP_PGDN_ICON_KEYSYM=keysym
44.Cd options J6X0TP_SWITCH_ICON_KEYSYM=keysym
45.Sh DESCRIPTION
46The
47.Nm
48driver provides support for the Jornada 680/690 touch-screen.
49.Pp
50Pen movements are passed to
51.Xr wsmouse 4
52as mouse clicks and drags.
53.Pp
54Taps on the on-screen
55.Dq HP hard icons
56are passed to
57.Xr wskbd 4
58as key presses.
59.Pp
60The
61.Nm
62driver has the following config options.
63.Bl -ohang -offset indent
64.It Cd options J6X0TP_WSMOUSE_EXCLUSIVE
65Stop feeding input to
66.Xr wskbd 4
67when the attached
68.Xr wsmouse 4
69device is opened.
70.It Cd options J6X0TP_SETTINGS_ICON_KEYSYM=keysym
71.It Cd options J6X0TP_PGUP_ICON_KEYSYM=keysym
72.It Cd options J6X0TP_PGDN_ICON_KEYSYM=keysym
73.It Cd options J6X0TP_SWITCH_ICON_KEYSYM=keysym
74Customize the mapping of on-screen
75.Dq HP hard icons
76to keys.
77Default keymap assigns
78.Dv KS_Home ,
79.Dv KS_Prior ,
80.Dv KS_Next ,
81and
82.Dv KS_End
83respectively.
84It is possible to change the mapping at run time with
85.Xr wsconsctl 8 ,
86but for a
87.Dq keyboard
88as small as this one it is convenient to be able to change the
89defaults at compile time.
90.El
91.Sh SEE ALSO
92.Xr adc 4 ,
93.Xr wskbd 4 ,
94.Xr wsmouse 4 ,
95.Xr tpctl 8
96.Sh HISTORY
97The
98.Nm
99driver first appeared in
100.Nx 2.0 .
101