summaryrefslogtreecommitdiff
path: root/geometry
diff options
context:
space:
mode:
authorTomas Hanak <ext-tomas.3.hanak@nokia.com>2009-12-08 12:41:37 +0200
committerSergey V. Udaltsov <svu@gnome.org>2009-12-11 00:46:48 +0000
commit1a66970b811207c563b0437c90c1d1909f87af14 (patch)
tree8e5ea59894d371ac5eb6932eb3158ca9a1e81984 /geometry
parent1e558aac1ccdde730c3f7b88c07818e21ae7eaa0 (diff)
downloadxkeyboard-config-1a66970b811207c563b0437c90c1d1909f87af14.tar.gz
Enable Maemo keyboards.
Signed-off-by: Tomas Hanak <ext-tomas.3.hanak@nokia.com> Signed-off-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com>
Diffstat (limited to 'geometry')
-rw-r--r--geometry/Makefile.am2
-rw-r--r--geometry/nokia53
2 files changed, 54 insertions, 1 deletions
diff --git a/geometry/Makefile.am b/geometry/Makefile.am
index ff1f8c7..84619fb 100644
--- a/geometry/Makefile.am
+++ b/geometry/Makefile.am
@@ -6,7 +6,7 @@ dist_geom_DATA = \
amiga ataritt chicony \
dell everex fujitsu \
hhk hp keytronic kinesis \
-macintosh microsoft nec \
+macintosh microsoft nec nokia \
northgate pc sony thinkpad \
sun typematrix winbook README
diff --git a/geometry/nokia b/geometry/nokia
new file mode 100644
index 0000000..5132840
--- /dev/null
+++ b/geometry/nokia
@@ -0,0 +1,53 @@
+// Zoomed 3x because of text size
+
+default xkb_geometry "nokiarx51" {
+
+ description= "Nokia RX-51";
+ width= 273; // 13x6mm + 2x1.5mm border + 2x5mm border
+ height= 54; // 3x5mm + 2x1.5mm border
+
+ shape.cornerRadius= 1.5;
+ shape "NORM" { { [18,15] } };
+ shape "SPCE" { { [36,15] } };
+ shape "FRAME" { cornerRadius= 2.5, { [243,54] } };
+
+ solid "FRAME" {
+ shape= "FRAME";
+ color= "white";
+ top= 0;
+ left= 15;
+ };
+
+ section.left= 15;
+ row.left= 4.5;
+ key.shape= "NORM";
+ key.gap= 0;
+ section "Keys" {
+ top= 0;
+ row {
+ top= 4.5;
+ keys { { <LCTL>, "NORM", color="grey20" },
+ <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
+ <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AB08>,
+ { <BKSP>, "NORM", color="grey20" }
+ };
+ };
+ row {
+ top= 19.5;
+ keys { { <RALT>, "NORM", color="grey20" },
+ <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
+ <AC06>, <AC07>, <AC08>, <AC09>, <AB09>, <UP>,
+ { <RTRN>, "NORM", color="grey20" }
+ };
+ };
+ row {
+ top= 34.5;
+ keys { { <LFSH>, "NORM", color="grey20" },
+ <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, <AB07>,
+ { <SPCE>, "SPCE", color="white" },
+ <LEFT>, <DOWN>, <RGHT>
+ };
+ };
+ }; // End of "Keys" section
+
+}; // End of "rx51" geometry