nokia-n900: add italian keyboard layout (!244)

This commit is contained in:
Federico Amedeo Izzo 2019-02-27 20:12:06 +01:00 committed by Oliver Smith
parent 77598f47f2
commit e48b212fdd
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 124 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgname=device-nokia-n900 pkgname=device-nokia-n900
pkgver=4 pkgver=4
pkgrel=1 pkgrel=2
pkgdesc="Nokia N900" pkgdesc="Nokia N900"
url="https://postmarketos.org" url="https://postmarketos.org"
arch="armv7" arch="armv7"
@ -24,6 +24,7 @@ source="
acpi.map acpi.map
keymaps/rx51_us.map keymaps/rx51_us.map
keymaps/rx51_ch-de.map keymaps/rx51_ch-de.map
keymaps/rx51_it.map
keymaps/40-xkb.conf keymaps/40-xkb.conf
pointercal pointercal
asound.state asound.state
@ -44,6 +45,8 @@ build() {
gzip "$srcdir"/keymaps/rx51_us.bmap gzip "$srcdir"/keymaps/rx51_us.bmap
loadkeys -b "$srcdir"/rx51_ch-de.map > "$srcdir"/keymaps/rx51_ch-de.bmap loadkeys -b "$srcdir"/rx51_ch-de.map > "$srcdir"/keymaps/rx51_ch-de.bmap
gzip "$srcdir"/keymaps/rx51_ch-de.bmap gzip "$srcdir"/keymaps/rx51_ch-de.bmap
loadkeys -b "$srcdir"/rx51_it.map > "$srcdir"/keymaps/rx51_it.bmap
gzip "$srcdir"/keymaps/rx51_it.bmap
return 0 return 0
} }
@ -77,6 +80,8 @@ package() {
"$pkgdir"/usr/share/bkeymaps/us/rx51_us.bmap.gz "$pkgdir"/usr/share/bkeymaps/us/rx51_us.bmap.gz
install -D -m644 "$srcdir"/keymaps/rx51_ch-de.bmap.gz \ install -D -m644 "$srcdir"/keymaps/rx51_ch-de.bmap.gz \
"$pkgdir"/usr/share/bkeymaps/ch/rx51_ch-de.bmap.gz "$pkgdir"/usr/share/bkeymaps/ch/rx51_ch-de.bmap.gz
install -D -m644 "$srcdir"/keymaps/rx51_it.bmap.gz \
"$pkgdir"/usr/share/bkeymaps/it/rx51_it.bmap.gz
} }
weston() { weston() {
@ -114,7 +119,7 @@ nonfree_firmware() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
sha512sums="aeb63c2b7f0efe686c431b161d3c7bedbca21cb9bd4745d474f625ca51e51f5ea24253cde1ab317db49de0cd4602e8ee5e54948b099ae7095206c5523b169b38 deviceinfo sha512sums="69a3727fcae2dbe405cf372f9ea27beb01d64b6e8a8797ae59f40b18a172cebdc95b37558cc73626d4ae53e2d773ca3df7ff35a849c72ac577075f0e36e33f68 deviceinfo
8f5b68b86f5345698114a2d70fd174699e5729f6c157659e4e57bef1dcab8c1209c13b30df6f5c2e8f31fee077039ffbc7817ca201f0745467b693e7550eaf6b uboot-script.cmd 8f5b68b86f5345698114a2d70fd174699e5729f6c157659e4e57bef1dcab8c1209c13b30df6f5c2e8f31fee077039ffbc7817ca201f0745467b693e7550eaf6b uboot-script.cmd
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh 3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules
@ -123,6 +128,7 @@ df5dcae9a32d04ba2fed8b4dbb8722f8d56d063a288dfbaeca37806bdbb8ba4de639b392859b9f24
7761aec6e6e219245b006e7bdc1d19812e9c5915cf3e64bb3dd46bb4b5570c1715650b53a1fc1007cb814076b5d81be0a66ba7ebf06d9a1fa4e364725c3ee633 acpi.map 7761aec6e6e219245b006e7bdc1d19812e9c5915cf3e64bb3dd46bb4b5570c1715650b53a1fc1007cb814076b5d81be0a66ba7ebf06d9a1fa4e364725c3ee633 acpi.map
c9ff8b5968fe94007e1139db5ae76f3ee6c214356bff297b9672276c6adb332ba2342b6ca54cf7992d6556f3c68a13ef49ae5e61abe86154935514034170e228 rx51_us.map c9ff8b5968fe94007e1139db5ae76f3ee6c214356bff297b9672276c6adb332ba2342b6ca54cf7992d6556f3c68a13ef49ae5e61abe86154935514034170e228 rx51_us.map
dc585e11bf4e06e36c5c62bcc024eaacecc30437d9da5257df14be05e247a2f2bc208874be3058edc6f87cc2877da2ecafd2f627d9b465d4fd24475fc21fdc71 rx51_ch-de.map dc585e11bf4e06e36c5c62bcc024eaacecc30437d9da5257df14be05e247a2f2bc208874be3058edc6f87cc2877da2ecafd2f627d9b465d4fd24475fc21fdc71 rx51_ch-de.map
082a5166e38296b097e873b0b4aeaf007e594d3bf4470c74e91ee3efedcf28ad25cd55c23dd63e460339898ae08e77e111b0e1092fa5e661db90bb40732103a1 rx51_it.map
181187db6d88b872233f594759373f32fd08065ee340b60f0c3ff06396d99f4b1250192d70a054fcc9e51e067f6cc063c62b7d8dfff3427b292f1d0c766db206 40-xkb.conf 181187db6d88b872233f594759373f32fd08065ee340b60f0c3ff06396d99f4b1250192d70a054fcc9e51e067f6cc063c62b7d8dfff3427b292f1d0c766db206 40-xkb.conf
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal 143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
e023df91295fe7e410e163747d17e5b92fe3c022ff076e286778b8334368f885603b8fda65671e4a7328766da7b2552ea4df1b1399df23e504a41a6655771142 asound.state e023df91295fe7e410e163747d17e5b92fe3c022ff076e286778b8334368f885603b8fda65671e4a7328766da7b2552ea4df1b1399df23e504a41a6655771142 asound.state

View file

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

View file

@ -0,0 +1,115 @@
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 = y
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 = semicolon
shift altgr keycode 35 = bracketright
keycode 36 = j
altgr keycode 36 = colon
keycode 37 = k
altgr keycode 37 = exclam
keycode 38 = l
altgr keycode 38 = question
keycode 42 = Shift
keycode 44 = z
altgr keycode 44 = euro
keycode 45 = x
altgr keycode 45 = parenleft
keycode 46 = c
altgr keycode 46 = parenright
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 = egrave
shift keycode 51 = Egrave
altgr keycode 51 = eacute
shift altgr keycode 51 = F11
keycode 52 = ograve
shift keycode 52 = Ograve
altgr keycode 52 = igrave
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 = agrave
shift keycode 103 = Agrave
altgr keycode 103 = ugrave
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