Fix for swapped Y and Z keys?

i just installed Haiku in a separate QEMU virtual machine, and when i press Y it shows Z, and so with Z, does anyone know what to do?

just in case, here is the execution command:
qemu-system-x86_64
-machine q35,accel=kvm
-cpu host
-m 2048
-smp 4
-drive file=haiku_disk.qcow2,if=virtio,format=qcow2
-device virtio-vga
-device qemu-xhci
-device usb-kbd
-device usb-tablet
-boot order=c
-display gtk

My guess is you are using a physical Central European QWERTZUIOP keyboard but Haiku thinks you have an Anglo QWERTYUIOP one, or vice versa. In Haiku, make sure your locale is set correctly (Deskbar | Preferences | Locale) and then check that you are using the correct keymap ((Deskbar | Preferences | Keymap).

I doubt that this is a QEMU problem.

2 Likes