author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-02-22 09:56:45 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-02-22 09:56:45 UTC |
parent | 42e7b6914791359413e74f02bb0572740dcfcce9 |
PKGBUILD | +1 | -1 |
symbols-c201 | +9 | -6 |
diff --git a/PKGBUILD b/PKGBUILD index 4ae0061..f75ce8c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=xkeyboard-config pkgver=2.41 -pkgrel=2 +pkgrel=3 pkgdesc="X keyboard configuration files" arch=(any) license=('LicenseRef-xkeyboard-config') diff --git a/symbols-c201 b/symbols-c201 index 47dc231..7b38e7a 100644 --- a/symbols-c201 +++ b/symbols-c201 @@ -14,12 +14,7 @@ xkb_symbols "basic" { // ChromeOS-like keys key <AB09> {[ period, greater, Insert, Insert ]}; - key <UP> {[ Up, NoSymbol, Prior ]}; - key <DOWN> {[ Down, NoSymbol, Next ]}; - key <LEFT> {[ Left, NoSymbol, Home ]}; - key <RGHT> {[ Right, NoSymbol, End ]}; - - key <BKSP> {[ BackSpace, BackSpace, Delete, Delete ]}; + // The arrows+backspace come later as shift-invariant key <AE01> {[ 1, exclam, F1, F1 ]}; key <AE02> {[ 2, at, F2, F2 ]}; @@ -34,6 +29,14 @@ xkb_symbols "basic" { key <AE11> {[ minus, underscore, F11, F11 ]}; key <AE12> {[ equal, plus, F12, F12 ]}; + // Shift-Invariant keys + key.type[Group1] = "CTRL+ALT"; + key <UP> {[ Up, Up, Prior, Prior ]}; + key <DOWN> {[ Down, Down, Next, Next ]}; + key <LEFT> {[ Left, Left, Home, Home ]}; + key <RGHT> {[ Right, Right, End, End ]}; + key <BKSP> {[ BackSpace, BackSpace, Delete, Delete ]}; + key <FK01> {[ XF86Back, XF86Back, F1, F1 ]}; key <FK02> {[ XF86Forward, XF86Forward, F2, F2 ]}; key <FK03> {[ F5, F5, F3, F3 ]};