summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.zaurus/zrc.4
blob: 2665376353b07e9a10bedbd300df8e80ceb866b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.\" $OpenBSD: zrc.4,v 1.5 2005/12/04 18:54:37 uwe Exp $
.\"
.\" Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd November 17, 2005
.Dt ZRC 4 zaurus
.Os
.Sh NAME
.Nm zrc
.Nd Zaurus remote control support
.Sh SYNOPSIS
.Cd "zrc0     at pxaip?"
.Cd "wskbd*   at zrc?"
.Sh DESCRIPTION
The
.Nm
driver provides support for the CE-RH2 remote control that can be
plugged into the headphone jack of the Zaurus C1000, C3000 and C3100.
Access to the additional keys generated by the remote control is
through the
.Xr wskbd 4
driver.
.Pp
In translated mode (when not running X) the keys generated by
pressing the buttons on the remote control are:
.Pp
.Bl -tag -width "xxxxxxxxxxxx" -compact -offset indent
.It Li Mute
m
.It Li Volume Down
-
.It Li Volume Up
+
.It Li Rewind
b
.It Li Forward
f
.It Li Play/Pause
p
.It Li Stop
s
.El
.Pp
In raw mode (when running X) the following keycodes are generated:
.Pp
.Bl -tag -width "xxxxxxxxxxxx" -compact -offset indent
.It Li Mute
133
.It Li Volume Down
134
.It Li Volume Up
135
.It Li Rewind
160
.It Li Forward
161
.It Li Play/Pause
162
.It Li Stop
163
.El
.Sh EXAMPLES
Sample
.Pa ~/.Xmodmap
configuration file that can be loaded with
.Xr xmodmap 1 ,
or automatically when
.Xr X 1
starts:
.Bd -literal -offset indent
! Map to xmms control keys; mute becomes "shuffle"
keycode 133 = s
keycode 134 = Down
keycode 135 = Up
keycode 160 = z
keycode 161 = b
keycode 162 = x
keycode 163 = v
.Ed
.Pp
To control applications that handle the standard audio keysyms, this
configuration can be used instead:
.Bd -literal -offset indent
! Map to standard audio keysyms
keycode 133 = XF86AudioMute
keycode 134 = XF86AudioLowerVolume
keycode 135 = XF86AudioRaiseVolume
keycode 160 = XF86AudioPrev
keycode 161 = XF86AudioNext
keycode 162 = XF86AudioPlay
keycode 163 = XF86AudioStop
.Ed
.Sh SEE ALSO
.Xr xmodmap 1 ,
.Xr intro 4 ,
.Xr pxaip 4 ,
.Xr wscons 4 ,
.Xr wskbd 4
.Sh HISTORY
The
.Nm
driver first appeared in
.Ox 3.9 .