aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/geometry/nokia
blob: 5132840ca7db6ab9ce05c91dd90d3dcd04287310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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