[nokia-n900] Add swiss german keyboard layout (#1310)

This commit is contained in:
Daniele Debernardi 2018-03-10 14:08:33 +01:00 committed by Oliver Smith
parent fcc96b0f2d
commit 2054a4ff14
3 changed files with 125 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgname=device-nokia-n900
pkgver=2
pkgrel=4
pkgrel=5
pkgdesc="Nokia N900"
url="https://github.com/postmarketOS"
arch="noarch"
@ -23,6 +23,7 @@ source="
acpi_handler.sh
acpi.map
keymaps/rx51_us.map
keymaps/rx51_ch-de.map
keymaps/40-xkb.conf
pointercal
asound.state
@ -37,6 +38,8 @@ build() {
mkdir "$srcdir"/keymaps
loadkeys -b "$srcdir"/rx51_us.map > "$srcdir"/keymaps/rx51_us.bmap
gzip "$srcdir"/keymaps/rx51_us.bmap
loadkeys -b "$srcdir"/rx51_ch-de.map > "$srcdir"/keymaps/rx51_ch-de.bmap
gzip "$srcdir"/keymaps/rx51_ch-de.bmap
return 0
}
@ -68,6 +71,8 @@ package() {
# Keymap
install -D -m644 "$srcdir"/keymaps/rx51_us.bmap.gz \
"$pkgdir"/usr/share/bkeymaps/us/rx51_us.bmap.gz
install -D -m644 "$srcdir"/keymaps/rx51_ch-de.bmap.gz \
"$pkgdir"/usr/share/bkeymaps/ch/rx51_ch-de.bmap.gz
}
weston() {
@ -96,7 +101,7 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="1a27f4c4898897a75e5fe788bbb4470910f2a0b0fdcc08fd57426fd5e87187535b87dafad2d9097ab5bbaeb17ad7e64d1ef7b15cce189097b58e0c3e1fc69ad4 deviceinfo
sha512sums="9b38f17e8f68768a8efc51b0cf4585dc3c01a69913013b9fbc52c8a758b53d2d74540bf0d3e7a7936fc3ae355fd802df938854c28e63966d90962385ddc8b8a9 deviceinfo
8f5b68b86f5345698114a2d70fd174699e5729f6c157659e4e57bef1dcab8c1209c13b30df6f5c2e8f31fee077039ffbc7817ca201f0745467b693e7550eaf6b uboot-script.cmd
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules
@ -104,6 +109,7 @@ c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88
df5dcae9a32d04ba2fed8b4dbb8722f8d56d063a288dfbaeca37806bdbb8ba4de639b392859b9f24040a1032456d5dcd754f51314e3ab66515b91ae1e03c93a7 acpi_handler.sh
7761aec6e6e219245b006e7bdc1d19812e9c5915cf3e64bb3dd46bb4b5570c1715650b53a1fc1007cb814076b5d81be0a66ba7ebf06d9a1fa4e364725c3ee633 acpi.map
c9ff8b5968fe94007e1139db5ae76f3ee6c214356bff297b9672276c6adb332ba2342b6ca54cf7992d6556f3c68a13ef49ae5e61abe86154935514034170e228 rx51_us.map
dc585e11bf4e06e36c5c62bcc024eaacecc30437d9da5257df14be05e247a2f2bc208874be3058edc6f87cc2877da2ecafd2f627d9b465d4fd24475fc21fdc71 rx51_ch-de.map
181187db6d88b872233f594759373f32fd08065ee340b60f0c3ff06396d99f4b1250192d70a054fcc9e51e067f6cc063c62b7d8dfff3427b292f1d0c766db206 40-xkb.conf
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
e023df91295fe7e410e163747d17e5b92fe3c022ff076e286778b8334368f885603b8fda65671e4a7328766da7b2552ea4df1b1399df23e504a41a6655771142 asound.state

View file

@ -6,7 +6,7 @@ deviceinfo_name="Nokia N900"
deviceinfo_manufacturer="Nokia"
deviceinfo_date=""
deviceinfo_keyboard="true"
deviceinfo_keymaps="us/rx51_us"
deviceinfo_keymaps="us/rx51_us ch/rx51_ch-de"
deviceinfo_nonfree="????"
deviceinfo_dtb="omap3-n900"
deviceinfo_modules_initfs="tsc2005 tsc200x-core omap_wdt twl4030_wdt omap-sham"

View file

@ -0,0 +1,116 @@
keymaps 0-4
#
keycode 14 = Delete
shift keycode 14 = Remove
altgr keycode 14 = Escape
shift altgr keycode 14 = F12
keycode 16 = q
altgr keycode 16 = one
shift altgr keycode 16 = F1
keycode 17 = w
altgr keycode 17 = two
shift altgr keycode 17 = F2
keycode 18 = e
altgr keycode 18 = three
shift altgr keycode 18 = F3
keycode 19 = r
altgr keycode 19 = four
shift altgr keycode 19 = F4
keycode 20 = t
altgr keycode 20 = five
shift altgr keycode 20 = F5
keycode 21 = z
altgr keycode 21 = six
shift altgr keycode 21 = F6
keycode 22 = u
altgr keycode 22 = seven
shift altgr keycode 22 = F7
keycode 23 = i
altgr keycode 23 = eight
shift altgr keycode 23 = F8
keycode 24 = o
altgr keycode 24 = nine
shift altgr keycode 24 = F9
keycode 25 = p
altgr keycode 25 = zero
shift altgr keycode 25 = F10
keycode 28 = Return
altgr keycode 28 = Tab
keycode 29 = Control
altgr keycode 29 = Compose
keycode 30 = a
altgr keycode 30 = asterisk
keycode 31 = s
altgr keycode 31 = plus
shift altgr keycode 31 = ampersand
keycode 32 = d
altgr keycode 32 = numbersign
shift altgr keycode 32 = dollar
keycode 33 = f
altgr keycode 33 = minus
shift altgr keycode 33 = percent
keycode 34 = g
altgr keycode 34 = underscore
shift altgr keycode 34 = bracketleft
keycode 35 = h
altgr keycode 35 = equal
shift altgr keycode 35 = bracketright
keycode 36 = j
altgr keycode 36 = parenleft
keycode 37 = k
altgr keycode 37 = parenright
keycode 38 = l
altgr keycode 38 = colon
shift altgr keycode 38 = semicolon
keycode 42 = Shift
keycode 44 = y
altgr keycode 44 = question
keycode 45 = x
altgr keycode 45 = exclam
keycode 46 = c
altgr keycode 46 = ccedilla
shift altgr keycode 46 = less
keycode 47 = v
altgr keycode 47 = slash
shift altgr keycode 47 = greater
keycode 48 = b
altgr keycode 48 = backslash
shift altgr keycode 48 = braceleft
keycode 49 = n
altgr keycode 49 = quotedbl
shift altgr keycode 49 = braceright
keycode 50 = m
altgr keycode 50 = apostrophe
shift altgr keycode 50 = asciicircum
keycode 51 = udiaeresis
shift keycode 51 = Udiaeresis
altgr keycode 51 = egrave
shift altgr keycode 51 = F11
keycode 52 = odiaeresis
shift keycode 52 = Odiaeresis
altgr keycode 52 = eacute
shift altgr keycode 52 = bar
keycode 57 = space
altgr keycode 57 = at
keycode 65 = VoidSymbol
shift keycode 65 = VoidSymbol
altgr keycode 65 = Decr_Console
keycode 66 = VoidSymbol
shift keycode 66 = VoidSymbol
altgr keycode 66 = Incr_Console
keycode 100 = AltGr
keycode 103 = adiaeresis
shift keycode 103 = Adiaeresis
altgr keycode 103 = agrave
shift altgr keycode 103 = asciitilde
keycode 105 = period
altgr keycode 105 = comma
shift altgr keycode 105 = degree
keycode 106 = Right
shift keycode 106 = End
altgr keycode 106 = Down
shift altgr keycode 106 = Scroll_Forward
keycode 108 = Left
shift keycode 108 = Home
altgr keycode 108 = Up
shift altgr keycode 108 = Scroll_Backward