diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2005-12-04 18:54:38 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2005-12-04 18:54:38 +0000 |
commit | 5b9770a66fa930d5377ccb011a772079302e062f (patch) | |
tree | 034d8e051ddea514bde0c936b93aacb56fe64c2b /share | |
parent | fb5eb85b573f3ded34f51624d2a94e876da52a62 (diff) |
Describe what keys are generated and give examples for X; tweaked by jmc@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/man4.zaurus/zrc.4 | 80 |
1 files changed, 76 insertions, 4 deletions
diff --git a/share/man/man4/man4.zaurus/zrc.4 b/share/man/man4/man4.zaurus/zrc.4 index 80d684c100d..2665376353b 100644 --- a/share/man/man4/man4.zaurus/zrc.4 +++ b/share/man/man4/man4.zaurus/zrc.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: zrc.4,v 1.4 2005/11/17 14:05:01 jmc Exp $ +.\" $OpenBSD: zrc.4,v 1.5 2005/12/04 18:54:37 uwe Exp $ .\" .\" Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org> .\" @@ -28,10 +28,82 @@ 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. -.\" -.\" TODO: describe what keys are generated in translated and in raw mode -.\" +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 , |