ZRC(4) OpenBSD Programmer's Manual (Zaurus) ZRC(4)NAMEzrc - Zaurus remote control support
SYNOPSIS
zrc0 at pxaip?
wskbd* at zrc?
DESCRIPTION
The zrc driver provides support for the CE-RH2 remote control that can be
plugged into the headphone jack of the Zaurus C1000, C3000, C3100, and
C3200. Access to the additional keys generated by the remote control is
through the wskbd(4) driver.
In translated mode (when not running X) the keys generated by pressing
the buttons on the remote control are:
Mute m
Volume Down -
Volume Up +
Rewind b
Forward f
Play/Pause p
Stop s
In raw mode (when running X) the following keycodes are generated:
Mute 133
Volume Down 134
Volume Up 135
Rewind 160
Forward 161
Play/Pause 162
Stop 163
EXAMPLES
Sample ~/.Xmodmap configuration file that can be loaded with xmodmap(1),
or automatically when X(1) starts:
! 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
To control applications that handle the standard audio keysyms, this
configuration can be used instead:
! 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
SEE ALSOxmodmap(1), intro(4), pxaip(4), wscons(4), wskbd(4)HISTORY
The zrc driver first appeared in OpenBSD 3.9.
OpenBSD 4.9 May 31, 2007 OpenBSD 4.9