NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57148: wscons keymap is incorrect



The following reply was made to PR kern/57148; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57148: wscons keymap is incorrect
Date: Fri, 30 Dec 2022 08:03:54 -0000 (UTC)

 ryo%tetera.org@localhost (Ryo ONODERA) writes:
 
 > However my laptop's keyboard is connected via PS/2.
 > Can I change wscon keymap to PS/2 type, even if USB keyboard attached?
 
 The keymap reflects what the hardware produces and every keyboard
 has its own keymap. wskbd0 (the internal keyboard) has the PS/2 keymap
 and wskbd1 (the USB keyboard) has the USB keymap.
 
 The problem aren't the different keymaps, but that for raw events
 these are not used and translated events are also filtered by the
 terminal emulation (so you lose key and type information).
 
 The only way seems to be to read events from each wskbd? device
 individually.
 
 We should extend events to identify the source and we should
 allow a mode that translates keyboard events only to keysyms
 without going through the terminal emulation.
 


Home | Main Index | Thread Index | Old Index