HILKBD(4)
π hilkbd(4) β the HIL keyboard device, bestie π
okay so real talk, this one's a Kernel Interfaces Manual page, and honestly? it's giving underrated icon energy. let's get into it π
β¨ NAME β¨
hilkbd β the HIL keyboard device, no cap π¦
πΈ SYNOPSIS πΈ
hilkbd* at hil?
wskbd* at hilkbd?
option HILKBD_LAYOUT=XXX
like, that's the whole vibe check right there β
π DESCRIPTION π
so this driver? it supports HIL keyboards inside the wscons(4) framework π«Ά. but plot twist β it does not provide direct device driver entry points. nope. instead it makes its functions available through the internal wskbd(4) interface. it's giving backstage main character energy, lowkey π
now the fun part: the hilkbd driver supports a number of different key mappings π₯. by default, the layout that corresponds to the keyboard model β as probed by the hilkbd driver itself β is what gets used, periodt. β¨
but bestie, you can choose a different layout! two ways:
- with the kernel option
HILKBD_LAYOUTat compile time π§ - or with the
wsconsctl(8)utility at runtime, using the variablekeyboard.encodingπ
π the supported key mappings (at this time)
KB_DEβ(de)German, with "dead accents" πKB_FRβ(fr)French, with "dead accents" πKB_SVβ(sv)Swedish βKB_UKβ(uk)British π¦KB_USβ(us)English/US keyboard mapping π«
and here's a lil bonus detail: the KB_DE mapping can be used in the KB_NODEAD (.nodead) variant β which switches off the "dead accents". iconic behavior honestly π
π¦ EXAMPLES π¦
want a Swedish keyboard mapping, like, right now? use:
wsconsctl keyboard.encoding=sv
and if you want it set at kernel build time β regardless of what keyboard is plugged β just add the following to the kernel configuration file:
option HILKBD_LAYOUT="KB_SV"
slay. that's it. that's the whole thing π
π SEE ALSO π
hil(4), intro(4), wskbd(4), wsconsctl(8)
go read them, iykyk πβ¨
π BUGS π
okay, being honest here π β
- the list of built-in mappings is incomplete, and it has grown as people submitted information about their particular layout. so yeah, it's a community project vibe fr fr π±
- the Swedish and British layouts have been reconstructed from tables in the old HIL code that's present in the
hp300port β and they have not been tested. π so like, proceed with love and maybe a lil caution π«Ά
and that's the whole page, bestie!! this gem comes to you from Debian, dated February 9, 2011 β an absolute vintage moment, we stan a classic πβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2003 Miodrag Vallat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms