Home | History | Annotate | Line # | Download | only in geometry
      1 // Zoomed 3x because of text size
      2 
      3 default xkb_geometry "nokiarx51" {
      4 
      5     description= "Nokia RX-51";
      6     width= 273; // 13x6mm + 2x1.5mm border + 2x5mm border
      7     height= 54; // 3x5mm + 2x1.5mm border
      8 
      9     shape.cornerRadius= 1.5;
     10     shape "NORM"  { { [18,15] } };
     11     shape "SPCE"  { { [36,15] } };
     12     shape "FRAME" { cornerRadius= 2.5, { [243,54] } };
     13 
     14     solid "FRAME" {
     15 	shape= "FRAME";
     16 	color= "white";
     17 	top= 0;
     18 	left= 15;
     19     };
     20 
     21     section.left= 15;
     22     row.left= 4.5;
     23     key.shape= "NORM";
     24     key.gap= 0;
     25     section "Keys" {
     26 	top= 0;
     27 	row {
     28 	    top= 4.5;
     29 	    keys { { <LCTL>, "NORM", color="grey20" },
     30 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
     31 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AB08>,
     32 		   { <BKSP>, "NORM", color="grey20" }
     33 	    };
     34 	};
     35 	row {
     36 	    top= 19.5;
     37 	    keys { { <RALT>, "NORM", color="grey20" },
     38 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
     39 		   <AC06>, <AC07>, <AC08>, <AC09>, <AB09>, <UP>,
     40 		   { <RTRN>, "NORM", color="grey20" }
     41 	    };
     42 	};
     43 	row {
     44 	    top= 34.5;
     45 	    keys { { <LFSH>, "NORM", color="grey20" },
     46 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, <AB07>,
     47 		   { <SPCE>, "SPCE", color="white" },
     48 		   <LEFT>, <DOWN>, <RGHT>
     49 	    };
     50 	};
     51     }; // End of "Keys" section
     52 
     53 }; // End of "rx51" geometry
     54