• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1default partial alphanumeric_keys
2xkb_symbols "basic" {
3
4    // Describes the differences between a very simple en_US
5    // keyboard and a very simple Norwegian keyboard.
6
7    include "latin"
8
9    name[Group1]= "Norway - Mac";
10
11    key <TLDE> {	[             bar,         section      ]	};
12    key <AE02> {	[               2,        quotedbl, 	       at,	 oneeighth	]	};
13    key <AE03> {	[               3,	numbersign,      sterling,        sterling	]	};
14    key <AE04> {	[	        4,        currency, 	   dollar,	    dollar	]	};
15    key <AE06> {	[               6,       ampersand     	]	};
16    key <AE07> {	[               7,           slash, 	      bar,       backslash	]  	};
17    key <AE08> {	[               8,       parenleft,   bracketleft,	 braceleft	]	};
18    key <AE09> {	[               9,      parenright,  bracketright,	braceright	]	};
19    key <AE10> {	[               0,           equal     	]	};
20    key <AE11> {	[            plus,        question      ]	};
21    key <AE12> {	[      dead_grave,      dead_acute, 	    acute,     dead_ogonek 	]	};
22
23    key <AB08> {	[           comma,       semicolon     	]	};
24    key <AB09> {	[          period,           colon     	]	};
25    key <AB10> {	[           minus,      underscore     	]	};
26    key <AC10> {	[	   oslash,        Ooblique,       odiaeresis,   Odiaeresis	]	};
27    key <AC11> {	[              ae,              AE 	]	};
28    key <AD11> {	[	    aring,           Aring     	]	};
29    key <AD12> {	[       diaeresis,     asciicircum,       asciitilde,  dead_macron     	]      	};
30    key <BKSL> {	[              at,        asterisk	]	};
31    key <LSGT> {	[            less,         greater	]	};
32
33    include "eurosign(e)"
34    include "level3(ralt_switch)"
35};
36
37
38partial alphanumeric_keys
39xkb_symbols "nodeadkeys" {
40
41    // Modifies the basic Norwegian layout to no dead keys
42    include "macintosh_vndr/no(basic)"
43    name[Group1]= "Norway - Mac, no dead keys";
44
45    key <AE12> {	[           grave,           acute, 	    acute,          ogonek 	]	};
46    key <AD12> {	[       diaeresis,     asciicircum,    asciitilde,          macron     	]      	};
47
48};
49