From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDB4C23F429 for ; Fri, 28 Nov 2025 14:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764341196; cv=none; b=F9231APyK80H/dJfFFklAEvufuWw73WrSrnlxh11ns5z7342wTmvmc/VIJ5mqe//tI/OohyYmGlsugM903QERVS6XPIEhvlmz1Rus6Gqs6SGsk+ffJBZ0DilVjhrOAngp5lkxojYr+cD7Wnnw2Rw9kBVyzBYS2fRV6H6aL9QLeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764341196; c=relaxed/simple; bh=oBdNV+fcGt0oPCcoeMVnp6RY8G4botZ5cw5kSfv3ZMo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GkAWN1ObHfDwdhxkb6yljroKJK/J3DfBxKR5eN6kYxdtuYMP+mm2awthngby3uHvrr9HG6gWqrXYPh8JWoeuo/pwlQQX1JMraj0SKB9/4OZglzuLDf3Z09upKRS6MpvjgLpflhW3mSTEYOJFEJd90vw+Gh67qn4NqSXq1AYwB+U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qp3rLKkA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qp3rLKkA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DFC4C4CEF1; Fri, 28 Nov 2025 14:46:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764341196; bh=oBdNV+fcGt0oPCcoeMVnp6RY8G4botZ5cw5kSfv3ZMo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qp3rLKkAL91vDARAIfFVQDsyD1tCtz30xKNXH4WDvajayS7YW0aGpHoYFOo+C2gtV w6M0/q2EVJGOQ3cf5mVybzqJpAkHEuxGzwcr1l3Jfk75j8jwhRpSwjbelKVKBV5qKS XDB0HCTecw0tsLvPMJzZFMve2CebNmbBWH8kSyc0xLhKbtuZ6hbCL0ddp5r/+j/j8n OhGEQvxYE85/zpUcO9auCH5o/Em0/f4UK7fGONLNT9SW0/SGbQQhv/gjfubbL8K0fY 8gBvlZPMGM+k2yPAM4VBF4Cpp+SjW3E7rivc+0foSDbckpUx7xdadMuTKD0mSc5CWk m6FCyCpPmQLpQ== Date: Fri, 28 Nov 2025 15:46:32 +0100 From: Alexey Gladkov To: Matthias von Arx Cc: kbd@lists.linux.dev Subject: Re: [PATCH] Swiss german keyboard adjustements Message-ID: References: <20251124231211.3550-1-matthias.von-arx@gmx.ch> Precedence: bulk X-Mailing-List: kbd@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251124231211.3550-1-matthias.von-arx@gmx.ch> On Tue, Nov 25, 2025 at 12:12:11AM +0100, Matthias von Arx wrote: > What changed: > - Removed meta and alt modifier for numbers and punctuation since they are not needed > for this layout > - Moved some keybindings to with the column-style instead of > explicitly defining in a separate line - also avoiding duplication > - Move backslash to the correct position. This was in a wrong position > for Mac Swissgerman keyboards > shift 7 > - Removed control_g for keycode 40 since that was wrong > - Include keymap 3 in keymaps since it is needed for the correct backslash keybind > > Signed-off-by: Matthias von Arx Applied. Thanks. > --- > 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