How to change the USB keyboard layout in an OpenBSD console?
Does
wsconsctl keyboard.encoding=us
work?
If yes, put that in /etc/wsconsctl.conf
to make it persistent.
Or are you saying that that would only work for PS/2 keyboards? Maybe enabling USB legacy keyboard mode in the BIOS would help in that case?
wsconscfg -k
may also be of use.
Perhaps you need to change the device from
/dev/uhid0
to something like
/dev/wskbd0
or
/dev/wskbd1