p .Cd "options ALTXBUTTONS" .Cd "options CAPS_IS_CONTROL" .Cd "options FORCE_FUNCTION_KEYS" .Sh DESCRIPTION This driver provides the .Xr wscons 4 driver with support for Apple Desktop Bus keyboards.
p To work around the limited number of buttons found on most ADB mice, one can map key sequences to trigger mouse button events. To map Option+1, Option+2, Option+3 to mouse buttons 1, 2, and 3 respectively, add the following line to your kernel configuration file:
p .Cd "options ALTXBUTTONS"
p On macppc systems it is possible to tweak the keyboard driver to treat the caps lock key on an ADB keyboard as a control key. This requires special remapping because of ADB's strange emulation of a mechanically-locked key. To enable this code add the following line to your kernel configuration file:
p .Cd options CAPS_IS_CONTROL
p On macppc PowerBooks, several function keys double as "hot keys" (brightness, volume, eject) when the Fn modifier is held down. Mac OS X likes to reprogram the keyboard controller to send hot key events when Fn is not held down and send function key events when it is. To transform the non-keyboard "button" events back into function key events, place the following line in your kernel configuration file:
p .Cd options FORCE_FUNCTION_KEYS .Sh SUPPORTED HARDWARE .Nx is known to support the following .Tn ADB keyboards: l -bullet -offset indent t On-board keyboards on PowerBook models t Apple Standard Keyboard t Apple Keyboard II t Apple Extended Keyboard t Apple Extended Keyboard II t Apple Adjustable Keyboard t Most third-party ADB keyboards are supported .El .Sh SEE ALSO .Xr adb 4 , .Xr wscons 4 , .Xr wskbd 4 , .Xr wsconsctl 8 .Sh BUGS The number pad on extended keyboards does not send out the proper key codes for many applications.
p The LEDs on extended keyboards are not functional under .Nx .