From: Alexey Gladkov <legion@kernel.org>
To: Matthias von Arx <matthias.von-arx@gmx.ch>
Cc: kbd@lists.linux.dev
Subject: Re: [PATCH] Cleanup Swiss german keyboard layout and fix some wrong bindings
Date: Mon, 24 Nov 2025 17:45:59 +0100 [thread overview]
Message-ID: <aSSLx39DwOluN0cd@example.org> (raw)
In-Reply-To: <20251124022638.4311-1-matthias.von-arx@gmx.ch>
On Mon, Nov 24, 2025 at 03:26:38AM +0100, Matthias von Arx wrote:
> Signed-off-by: Matthias von Arx <matthias.von-arx@gmx.ch>
Please add a description of what has been changed and why. "Cleanup" and
"fix some wrong" do not provide any information about the proposed
changes.
> ---
> data/keymaps/i386/qwertz/sg-mac.map | 61 +++++------------------------
> 1 file changed, 10 insertions(+), 51 deletions(-)
>
> diff --git a/data/keymaps/i386/qwertz/sg-mac.map b/data/keymaps/i386/qwertz/sg-mac.map
> index 3b11a8f..0c68ae3 100644
> --- a/data/keymaps/i386/qwertz/sg-mac.map
> +++ b/data/keymaps/i386/qwertz/sg-mac.map
> @@ -1,50 +1,31 @@
> # Swiss German keyboard layout for Mac
>
> -keymaps 0-2,4-6,8,12
> +keymaps 0-6,8,12
> include "qwertz-layout"
> include "linux-with-alt-and-altgr"
>
> strings as usual
>
> +# Keycode # No mod # Shift # AltGr # Shift + AltGr
> +# MapBinary # 000 # 001 # 010 # 011
> +# Map # 0 # 1 # 2 # 3
> +
> keycode 1 = Escape Escape
> - alt keycode 1 = Meta_Escape
> keycode 2 = one plus plusminus
> - alt keycode 2 = Meta_one
> keycode 3 = two quotedbl quotedbl
> - control keycode 3 = nul
> - alt keycode 3 = Meta_two
> keycode 4 = three asterisk numbersign
> - control keycode 4 = Escape
> - alt keycode 4 = Meta_three
> keycode 5 = four ccedilla Ccedilla
> - control keycode 5 = Control_backslash
> - alt keycode 5 = Meta_four
> keycode 6 = five percent bracketleft
> - control keycode 6 = Control_bracketright
> - alt keycode 6 = Meta_five
> keycode 7 = six ampersand bracketright
> - control keycode 7 = Control_asciicircum
> - alt keycode 7 = Meta_six
> -keycode 8 = seven slash bar
> - control keycode 8 = Control_underscore
> - alt keycode 8 = Meta_seven
> +keycode 8 = seven slash bar backslash
> keycode 9 = eight parenleft braceleft
> - control keycode 9 = Delete
> - alt keycode 9 = Meta_eight
> keycode 10 = nine parenright braceright
> - alt keycode 10 = Meta_nine
> keycode 11 = zero equal
> - alt keycode 11 = Meta_zero
> keycode 12 = apostrophe question dead_acute
> - control keycode 12 = Control_underscore
> - alt keycode 12 = Meta_minus
> keycode 13 = dead_circumflex dead_grave dead_tilde
> - alt keycode 13 = Meta_equal
> keycode 14 = Delete Delete
> - alt keycode 14 = Meta_Delete
> -keycode 15 = Tab Meta_Tab
> - alt keycode 15 = Meta_Tab
>
> +keycode 15 = Tab Tab
> keycode 16 = q Q
> control keycode 16 = Control_q
> alt keycode 16 = Meta_q
> @@ -77,14 +58,8 @@ keycode 25 = p P
> alt keycode 25 = Meta_p
>
> keycode 26 = udiaeresis egrave section
> - altgr keycode 26 = section
> - control keycode 26 = Escape
> - alt keycode 26 = Meta_udiaeresis
> keycode 27 = dead_diaeresis exclam bracketright
> - control keycode 27 = Control_bracketright
> - alt keycode 27 = Meta_bracketright
> keycode 28 = Return
> - alt keycode 28 = Meta_Control_m
> keycode 29 = Control
>
> keycode 30 = a A
> @@ -116,19 +91,10 @@ keycode 38 = l L
> alt keycode 38 = Meta_l
>
> keycode 39 = odiaeresis eacute cent
> - alt keycode 39 = Meta_odiaeresis
> keycode 40 = adiaeresis agrave ae
> - altgr keycode 40 = ae
> - control keycode 40 = Control_g
> - alt keycode 40 = Meta_adiaeresis
> -keycode 41 = section degree backslash
> - control keycode 41 = nul
> - alt keycode 41 = Meta_grave
> +keycode 41 = section degree
> keycode 42 = Shift
> keycode 43 = dollar sterling pilcrow
> - altgr keycode 43 = pilcrow
> - control keycode 43 = Control_backslash
> - alt keycode 43 = Meta_backslash
>
> keycode 44 = y Y
> control keycode 44 = Control_y
> @@ -154,19 +120,12 @@ keycode 50 = m M mu
> alt keycode 50 = Meta_m
>
> keycode 51 = comma semicolon
> - alt keycode 51 = Meta_comma
> keycode 52 = period colon
> - alt keycode 52 = Meta_period
> keycode 53 = minus underscore
> - control keycode 53 = Delete
> - alt keycode 53 = Meta_slash
> - shift control keycode 53 = Control_underscore
> +
> keycode 54 = Shift
> keycode 56 = Alt
> keycode 57 = space space
> - control keycode 57 = nul
> - alt keycode 57 = Meta_space
> keycode 58 = Caps_Lock
> -keycode 86 = less greater backslash
> - alt keycode 86 = Meta_less
> +keycode 86 = less greater
> keycode 97 = Control
> --
> 2.51.1
>
>
--
Rgrds, legion
prev parent reply other threads:[~2025-11-24 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-24 2:26 [PATCH] Cleanup Swiss german keyboard layout and fix some wrong bindings Matthias von Arx
2025-11-24 16:45 ` Alexey Gladkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aSSLx39DwOluN0cd@example.org \
--to=legion@kernel.org \
--cc=kbd@lists.linux.dev \
--cc=matthias.von-arx@gmx.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox