Date: Tue, 5 Dec 2017 15:15:02 -0700 From: Jack Rosenthal <jack@rosenth.al> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org Subject: Re: Implementing multi-layer keyboard in FreeBSD vt (was: syscons), and control keys repeat rate Message-ID: <20171205221502.GA17875@rosenth.al> In-Reply-To: <20171205010844.93a1164c.freebsd@edvax.de> References: <20171204003039.GA16209@rosenth.al> <20171205010844.93a1164c.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 05 Dec 2017 at 01:08 +0100, Polytropon wrote: > On Sun, 3 Dec 2017 17:30:39 -0700, Jack Rosenthal wrote: > > I'm trying to implement a multi-layer keyboard layout for the FreeBSD > > console (sort of like the Neo layout, there's more things that change > > the keys than just shift). If you're curious, the keyboard spec is here: > >=20 > > https://github.com/jackrosenthal/threelayout > >=20 > > Here's what I've got so far: > >=20 > > https://github.com/jackrosenthal/threelayout/blob/master/freebsd/3l.kbd >=20 > Interesting effort. However, I think traditional syscons (sc) will > be abolished soon and fully replaced by NewCons (vt) due to the fact > that modern X doesn't work until you switch to vt. Maybe you can > also investigate how vt does things, and find a solution there? Uh oh... I had meant vt (had read the manual for syscons and simply assumed that was what I was using)... noob issues ;) > > 2. Any way to make the Ctrl key send Ctrl+Shift? I was thinking that I > > could make a function key for that, but cannot find any way to do > > that from the manual (kbdcontrol). >=20 > This is something to be implemented in the keyboard driver directly, > i. e., atkbd or ukbd - and re-check with the lower-level sc (or vt?) > interface to those drivers, usually there are ioctl()s doing it. I had a feeling this would be the answer... maybe some week when I have a bit more time I'll go down this rabbit hole. --=20 Jack Rosenthal No keyboard. Press F1 to continue. --envbJBWh7q8WU6mo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEYa4zBojHi2FaOX2Hkk7cELIOc/cFAlonGmYACgkQkk7cELIO c/dKJg//UvWGpbsTIBjHg+C8YWFz/waetKBwrF498DyHGmMC2Z3O7WQVj9XtbJHf KMC7ZGD6mONu+x17f3MRsiURlFePy+8YXOrbxYe39ZCel/EEv3svPLBgEREkjr9a x36+JESAW8gAWb3pCuKsb6KRHgf6aq8fD8c5WgTcJ8kZ7oGDlZIC2xD9eZL+bwxd u2erJ0F+BSGX9N2a8HqEisBcM/lfq+Qxwe48upA6pOIyM/NAEl13TP9QX1vE/McO tiDNAYKS1v0kJ/lM6dMIDnil9AnDJCcf0Wp7cz/TjGpuVcU/0JQ6dcq/YSXh2UNP WNVtNkfljG73+h6UCkmbSm6JpGp8v8qZZ+Neowf+A62gWnz5A1f4rHoUZ5GIMLvS K5uXM36qQbt8ykAXTHLsoz5mYOGlGvypTrfgdoKAWk9mHrhxo838pdvuRTwomZOY 05tbUTNuWbTWrzKaor5+1eGXTFVd5vCgefjDAOT9VyT27hOWvAV9e1h5uYWzIU8Y rS7to4yqBV37VBh/4XVlpMekUxiKAwlGGZqf2fRB5CeGO2Fx9wMajjxoNyDrnt+w tIDY0a3wnjW6E2bta7PXvjfy5CieR1i+tRof7yZnunsNVaKBR+AaJjnx+A0RZG04 ElqAXiuBd24AaX+zuq9O3uun+OWwzt0C/scY48CwsIM8AdQWwJg= =YCsH -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171205221502.GA17875>