device-nokia-n900: Add Finnish/Swedish keymap (MR 1519)
This adds a Finnish/Swedish key map for the Nokia n900. The same keymap is used for Finnish and Swedish. This makes the keyboard work in the console. To fix the XkbLayout other changes are needed to pmbootstrap. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
cca64d3c29
commit
eb8a6b0cd0
4 changed files with 133 additions and 5 deletions
|
|
@ -1,3 +1,5 @@
|
|||
/usr/share/bkeymaps/us/rx51_us.bmap.gz
|
||||
/usr/share/bkeymaps/ch/rx51_ch.bmap.gz
|
||||
/usr/share/bkeymaps/it/rx51_it.bmap.gz
|
||||
/usr/share/bkeymaps/fi/rx51_fi.bmap.gz
|
||||
/usr/share/bkeymaps/se/rx51_se.bmap.gz
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
||||
# Co-Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
||||
pkgname=device-nokia-n900
|
||||
pkgver=6
|
||||
pkgver=7
|
||||
pkgrel=0
|
||||
pkgdesc="Nokia N900"
|
||||
url="https://postmarketos.org"
|
||||
|
|
@ -29,6 +29,7 @@ source="
|
|||
keymaps/rx51_us.map
|
||||
keymaps/rx51_ch.map
|
||||
keymaps/rx51_it.map
|
||||
keymaps/rx51_fise.map
|
||||
keymaps/40-xkb.conf
|
||||
pointercal
|
||||
asound.state.speakers
|
||||
|
|
@ -60,6 +61,11 @@ build() {
|
|||
gzip "$srcdir"/keymaps/rx51_ch.bmap
|
||||
loadkeys -b "$srcdir"/rx51_it.map > "$srcdir"/keymaps/rx51_it.bmap
|
||||
gzip "$srcdir"/keymaps/rx51_it.bmap
|
||||
# Finnish and Swedish use the same mapping
|
||||
loadkeys -b "$srcdir"/rx51_fise.map > "$srcdir"/keymaps/rx51_fi.bmap
|
||||
gzip "$srcdir"/keymaps/rx51_fi.bmap
|
||||
loadkeys -b "$srcdir"/rx51_fise.map > "$srcdir"/keymaps/rx51_se.bmap
|
||||
gzip "$srcdir"/keymaps/rx51_se.bmap
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
@ -102,6 +108,10 @@ package() {
|
|||
"$pkgdir"/usr/share/bkeymaps/ch/rx51_ch.bmap.gz
|
||||
install -D -m644 "$srcdir"/keymaps/rx51_it.bmap.gz \
|
||||
"$pkgdir"/usr/share/bkeymaps/it/rx51_it.bmap.gz
|
||||
install -D -m644 "$srcdir"/keymaps/rx51_fi.bmap.gz \
|
||||
"$pkgdir"/usr/share/bkeymaps/fi/rx51_fi.bmap.gz
|
||||
install -D -m644 "$srcdir"/keymaps/rx51_se.bmap.gz \
|
||||
"$pkgdir"/usr/share/bkeymaps/se/rx51_se.bmap.gz
|
||||
}
|
||||
|
||||
weston() {
|
||||
|
|
@ -153,7 +163,7 @@ nonfree_firmware() {
|
|||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="342996ddabc00215f2d52e0698d2ed89a4bba577f15b9480f76ccb14f6f5088c08bea2189a110311905f8e6e9f5c229433ce22ffb42692b6cea8f1b231473fd1 deviceinfo
|
||||
sha512sums="be33e64dd429329adb877a7081e75903d6db77019bd4ec63075a7f9b6e1e50ebc59562062656299ca9c703d5b7452b8bf0a849ba3aa173274ba9da18fe88fb72 deviceinfo
|
||||
01520977509df36248d0e44b3b2c18db0cefeb65e9ed5df96508eb0ed08304458a58ecd2bd21117771fe71e765b5f811c583909cad9a2c210de687a161e7234b uboot-script.cmd
|
||||
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
|
||||
c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules
|
||||
|
|
@ -163,6 +173,7 @@ b3612348af1465c6dc21ce30153fc7e2cce3ae7f9bf9ff34d5a560e173e174275c1701dd7c45337f
|
|||
e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f1789a66f7c948290016b048da9f1cf63aba9e11d7e7fd6873ba rx51_us.map
|
||||
dc585e11bf4e06e36c5c62bcc024eaacecc30437d9da5257df14be05e247a2f2bc208874be3058edc6f87cc2877da2ecafd2f627d9b465d4fd24475fc21fdc71 rx51_ch.map
|
||||
082a5166e38296b097e873b0b4aeaf007e594d3bf4470c74e91ee3efedcf28ad25cd55c23dd63e460339898ae08e77e111b0e1092fa5e661db90bb40732103a1 rx51_it.map
|
||||
0a3e58a3a81c463937caf508a76461b4cc43f593f0817a52b6581fdd132cc894c0960fe7b950b6e6bfac1fad15cd9dd230c103fcf08a30b44ef7d8fbe31cea28 rx51_fise.map
|
||||
181187db6d88b872233f594759373f32fd08065ee340b60f0c3ff06396d99f4b1250192d70a054fcc9e51e067f6cc063c62b7d8dfff3427b292f1d0c766db206 40-xkb.conf
|
||||
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
|
||||
67acc17a33bc75113300393b4a5bba15319014032407e774d079abf310368e75f4f697dbb4856ba2d2d8ea184b056bb33561f42918de3ee91ab6a77df89a133c asound.state.speakers
|
||||
|
|
@ -178,6 +189,6 @@ d9ef88c714e9fce8822f63b7a9d7fc3e1ed472c8c876b44ba524d44efea322839f13ddd2fa652420
|
|||
0b80af9fd1f36e6bc06bdfdf48352897234ac7457210649016665da8570a5a64b8a0841b4fbeb64fd7054a5246a64718cf4412f8a53024ce39b28a80984972d8 protip_shell.sh
|
||||
a91f98daa60efa2beb2ff6b405097f92edca5f1bbb9e7675499139be52ca2570712f8f06f9032ef29f636f99c8f8da8b992f746eab6424aac04260c16158bcc2 xorg.conf
|
||||
38ecdf876b5aa9df2e5ea61c7ebb6f9ca871bdf433029808d028d563dfd740232b3dc21dba098a7622453212af1272e2e782be861b4a96a49fd475a618442d45 10-noroot-suspend
|
||||
ae5c4c2452d8da66174d4eef9644796b29b0188ad683a6516be3710e0893db5447583f8b46ec9b76144e030c1ce4d9c316542af25b9369d9f27b8c026f6e0fe1 10-initfs-keymap.files
|
||||
6b475c12eca8563be48c562a1cb4ad8ca6a05d70fc54b21288b2dd7435a80a6f53351aa870db96d5bbecf1b1c5cb00dfe35f5066e6d3fd0ad0369e66aeef5a21 10-initfs-keymap.files
|
||||
4656d3b3ced0a86e2d6315c89322899f646a689e9cb64609aa8ad5a676b23d93706d8a37f3be6f6b12c6b1e8501b7d26ecafecf27322333850513a6805c61910 10-initfs-keymap.sh
|
||||
e6bbac8de1a198ba716f44ade76606e1e0adcc574156b855ac41be5eb5308389d3277fd89cc34b119fbc33d9801ab9f79a6ff213392596bff40bc17e931c05ef device-nokia-n900.start"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ deviceinfo_codename="nokia-n900"
|
|||
deviceinfo_year="2009"
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="true"
|
||||
deviceinfo_keymaps="us/rx51_us ch/rx51_ch it/rx51_it"
|
||||
deviceinfo_keymaps="us/rx51_us ch/rx51_ch it/rx51_it fi/rx51_fi se/rx51_se"
|
||||
deviceinfo_dtb="omap3-n900"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs="tsc2005 tsc200x-core omap_wdt twl4030_wdt omap-sham"
|
||||
|
|
@ -16,7 +16,7 @@ deviceinfo_arch="armv7"
|
|||
|
||||
# Device related
|
||||
deviceinfo_keyboard="true"
|
||||
deviceinfo_keymaps="us/rx51_us ch/rx51_ch it/rx51_it"
|
||||
deviceinfo_keymaps="us/rx51_us ch/rx51_ch it/rx51_it fi/rx51_fi se/rx51_se"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="800"
|
||||
deviceinfo_screen_height="480"
|
||||
|
|
|
|||
115
device/community/device-nokia-n900/keymaps/rx51_fise.map
Normal file
115
device/community/device-nokia-n900/keymaps/rx51_fise.map
Normal 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
|
||||
keycode 32 = d
|
||||
altgr keycode 32 = numbersign
|
||||
shift altgr keycode 32 = percent
|
||||
keycode 33 = f
|
||||
altgr keycode 33 = minus
|
||||
shift altgr keycode 33 = asciitilde
|
||||
keycode 34 = g
|
||||
altgr keycode 34 = underscore
|
||||
shift altgr keycode 34 = bracketleft
|
||||
keycode 35 = h
|
||||
altgr keycode 35 = parenleft
|
||||
shift altgr keycode 35 = bracketright
|
||||
keycode 36 = j
|
||||
altgr keycode 36 = parenright
|
||||
keycode 37 = k
|
||||
altgr keycode 37 = semicolon
|
||||
keycode 38 = l
|
||||
altgr keycode 38 = colon
|
||||
shift altgr keycode 38 = bar
|
||||
keycode 42 = Shift
|
||||
keycode 44 = z
|
||||
altgr keycode 44 = euro
|
||||
keycode 45 = x
|
||||
altgr keycode 45 = dollar
|
||||
keycode 46 = c
|
||||
altgr keycode 46 = sterling
|
||||
shift altgr keycode 46 = asciitilde
|
||||
keycode 47 = v
|
||||
altgr keycode 47 = slash
|
||||
shift altgr keycode 47 = less
|
||||
keycode 48 = b
|
||||
altgr keycode 48 = backslash
|
||||
shift altgr keycode 48 = greater
|
||||
keycode 49 = n
|
||||
altgr keycode 49 = quotedbl
|
||||
shift altgr keycode 49 = braceleft
|
||||
keycode 50 = m
|
||||
altgr keycode 50 = apostrophe
|
||||
shift altgr keycode 50 = braceright
|
||||
keycode 51 = aring
|
||||
shift keycode 51 = Aring
|
||||
altgr keycode 51 = equal
|
||||
shift altgr keycode 51 = F11
|
||||
keycode 52 = odiaeresis
|
||||
shift keycode 52 = Odiaeresis
|
||||
altgr keycode 52 = exclam
|
||||
shift altgr keycode 52 = oslash
|
||||
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 = question
|
||||
shift altgr keycode 103 = ae
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue