git: 9front

Download patch

ref: 78d43ae84c996bda4b4b533bf771597bd3221875
parent: 95a37a1886b4e3bd405cee02a7d878f56cdf4c69
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Jun 25 11:52:36 EDT 2024

it kbmap: more mapping fixes (thank shura)

The Italian keyboard layout is ISO, and unlike the ANSI layout,
it has an extra key between Shift and Z, and the key above Enter,
which becomes vertical, is moved to the bottom left of it.

 - the key between Shift and Z is mapped to `<`, and shift+`<` is mapped to `>`
 - the old `>` (at the bottom left of Enter) is mapped to `ù`
 - shift+`ù` is mapped to `§`
 - the old shift+`"` is mapped to `°`
 - altgr+`'` is mapped to backtick
 - altgr+`ì` is mapped to `~`
 - altgr+`e` is mapped to `€`
 - shiftaltgr+`[` is mapped to `{`
 - shiftaltgr+`]` is mapped to `}`

--- a/sys/lib/kbmap/it
+++ b/sys/lib/kbmap/it
@@ -41,7 +41,7 @@
 0	40	0x00e0
 0	41	'\
 0	42	0xf016
-0	43	'<
+0	43	0x00f9
 0	44	'z
 0	45	'x
 0	46	'c
@@ -166,10 +166,10 @@
 1	37	'K
 1	38	'L
 1	39	0x00e7
-1	40	'"
+1	40	0x00b0
 1	41	'|
 1	42	0xf016
-1	43	'|
+1	43	0x00a7
 1	44	'Z
 1	45	'X
 1	46	'C
@@ -394,13 +394,13 @@
 3	9	0
 3	10	0
 3	11	0
-3	12	0
-3	13	0
+3	12	0x0060
+3	13	'~
 3	14	0
 3	15	0
 3	16	0
 3	17	0
-3	18	0
+3	18	0x20ac
 3	19	0
 3	20	0
 3	21	0
@@ -638,3 +638,5 @@
 4	125	0
 4	126	0
 4	127	0
+7	26	'{
+7	27	'}
--