On Wed, Jan 17, 2024 at 11:12:53AM -0800, Courtney wrote: > I'm not sure how exactly to report on this one. I installed sway and other > related wayland and sway packages. I stopped xenodm, used the default > configuration file and started sway with /usr/local/bin/startsway.sh and > found my keyboard layout was shifted up 2 rows, and jumbled up a huge > amount. For example, 1,2,3,4 became a,s,d,f and y became enter and > k became backspace. It is incredibly awkward to type to find out any info > on why this is happening since no key is as it would seem. I have to hard > reset my desktop to get out of sway, but I am baffled by this behavior. > Any advice on how to dig deeper? >
Hi, this is a known issue with the current version of libinput-openbsd. When you have multiple keyboards of different types (pckbd aka PS/2 and USB for instance) attached. Each type has its own keycodes set, translated to evdev-like events in libinput. The current code can only handle one keyboard at a time and thus it's the last one attaching to the wskbd mux which "wins". Other keyboards are translated incorrectly. This is going to be fixed at some point. In the mean time, try to make sure you have only one keyboard attached to the mux. -- Matthieu Herrb