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: Ryo ONODERA <ryo%tetera.org@localhost>
To: gnats-bugs%netbsd.org@localhost, mlelstv%serpens.de@localhost
Cc: 
Subject: Re: kern/57148: wscons keymap is incorrect
Date: Sat, 31 Dec 2022 00:03:15 +0900

 Hi,
 
 mlelstv%serpens.de@localhost (Michael van Elst) writes:
 
 > 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.
 
 Thanks for your explanation.
 Reading events from each /dev/wskbd? works fine for me.
 
 >  
 >  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.
 >  
 
 I wish this kind of change.
 
 
 Thank you.
 
 -- 
 Ryo ONODERA // ryo%tetera.org@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index