p .Cd "option HILKBD_LAYOUT=XXX" .Sh DESCRIPTION This driver supports HIL keyboards within the .Xr wscons 4 framework. It doesn't provide direct device driver entry points, but makes its functions available through the internal .Xr wskbd 4 interface.
p The .Nm driver supports a number of different key mappings. By default, the layout corresponding to the keyboard model as probed by the .Nm driver will be used. A different layout can be chosen either with the kernel option .Dq HILKBD_LAYOUT at compile time, or with the .Xr wsconsctl 8 utility (variable: .Dq keyboard.encoding ) at runtime.
p The supported key mappings are at this time:
p l -tag -width Ds -offset indent -compact t KB_DE
q de German with .Dq dead accents . t KB_FR
q fr French with .Dq dead accents . t KB_SV
q sv Swedish. t KB_UK
q uk British. t KB_US
q us English/US keyboard mapping. .El
p The KB_DE mapping can be used in the KB_NODEAD
q .nodead variant. This switches off the .Dq dead accents . .Sh EXAMPLES To set a Swedish keyboard mapping, use c wsconsctl keyboard.encoding=sv . To set it at kernel build time, regardless of what keyboard is plugged, add the following to the kernel configuration file: d -literal -offset indent option HILKBD_LAYOUT="KB_SV" .Ed .Sh SEE ALSO .Xr hil 4 , .Xr intro 4 , .Xr wskbd 4 , .Xr wsconsctl 8 .Sh BUGS The list of built-in mappings is incomplete and has grown as people submitted information about their particular layout.
p The Swedish and British layout have been reconstructed from tables in the old HIL code present in the hp300 port, and have not been tested.