~jole/nous

ref: 2988bf7ebb06497f8e0da87504bb6f96d8d2e749 nous/nous -rw-r--r-- 3.8 KiB
2988bf7ejakobrs Add element and subset signs 4 months ago
                                                                                
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// based on a keyboard map from an 'xkb/symbols/no' file

default partial alphanumeric_keys
xkb_symbols "basic" {

	// Describes the differences between a very simple en_US
	// keyboard and a Norwegian keyboard with dead key support
	// and all of ISO-8859-1 characters available.

	include "latin(type2)"

	name[Group1]="NorwegianUS";


	key <FK01>	{[	F1,		onesuperior,	0x1002081,	comma		]};
	key <FK02>	{[	F2,		twosuperior,	0x1002082,	comma		]};
	key <FK03>	{[	F3,		threesuperior,	0x1002083,	comma		]};
	key <FK04>	{[	F4,		foursuperior,	0x1002084,	comma		]};
	key <FK05>	{[	F5,		fivesuperior,	0x1002085,	comma		]};
	key <FK06>	{[	F6,		sixsuperior,	0x1002086,	comma		]};
	key <FK07>	{[	F7,		sevensuperior,	0x1002087,	comma		]};
	key <FK08>	{[	F8,		eightsuperior,	0x1002088,	comma		]};
	key <FK09>	{[	F9,		ninesuperior,	0x1002089,	comma		]};
	key <FK10>	{[	F10,		zerosuperior,	0x1002080,	comma		]};

	key <TLDE>	{[	grave,		asciitilde,	brokenbar,	paragraph	]};

	key <AE01>	{[	1,		exclam,		1,		1		]};
	key <AE02>	{[	2,		at,		2,		2		]};
	key <AE03>	{[	3,		numbersign,	sterling,	3		]};
	key <AE04>	{[	4,		dollar,		cent,		4		]};
	key <AE05>	{[	5,		percent,	0x1002030,	5		]};
	key <AE06>	{[	6,		asciicircum,	6,		6		]};
	key <AE07>	{[	7,		ampersand,	division,	7		]};
	key <AE08>	{[	8,		asterisk,	multiply,	8		]};
	key <AE09>	{[	9,		parenleft,	9,		9		]};
	key <AE10>	{[	0,		parenright,	0,		0		]};
	key <AE11>	{[	minus,		underscore,	emdash,		1		]};
	key <AE12>	{[	equals,		plus,		plusminus,	0x1002213	]};

	key <AD01>	{[	q,		Q,		0x100211a,	0x100211d	]};
	key <AD02>	{[	w,		W,		Greek_omega,	Greek_OMEGA	]};
	key <AD03>	{[	e,		E,		euro,		elementof		]};
	key <AD04>	{[	r,		R,		registered,	trademark	]};
	key <AD05>	{[	t,		T,		Greek_tau,	Greek_TAU	]};
	key <AD06>	{[	y,		Y,		0x1000296,	0x100035C	]};
	key <AD07>	{[	u,		U,		0x10030C4,	0x1003064	]};
	key <AD08>	{[	i,		I,		0x100221A,	0x100221A	]};
	key <AD09>	{[	o,		O,		Greek_theta,	Greek_THETA	]};
	key <AD10>	{[	p,		P,		Greek_pi,	Greek_PI	]};
	key <AD11>	{[	bracketleft,	braceleft,	aring,		Aring		]};
	key <AD12>	{[	bracketright,	braceright,	dead_diaeresis,	dead_circumflex	]};

	key <AC01>	{[	a,		A,		Greek_alpha,	Greek_ALPHA	]};
	key <AC02>	{[	s,		S,		0x10000DF,	0x1001E9E	]};
	key <AC03>	{[	d,		D,		Greek_delta,	Greek_DELTA	]};
	key <AC04>	{[	f,		F,		f,		F		]};
	key <AC05>	{[	g,		G,		Greek_gamma,	Greek_GAMMA	]};
	key <AC06>	{[	h,		H,		leftarrow,	leftarrow	]};
	key <AC07>	{[	j,		J,		downarrow,	downarrow	]};
	key <AC08>	{[	k,		K,		uparrow,	uparrow		]};
	key <AC09>	{[	l,		L,		rightarrow,	rightarrow	]};
	key <AC10>	{[	semicolon,	colon,		oslash,		Oslash		]};
	key <AC11>	{[	apostrophe,	quotedbl,	ae,		AE		]};
	key <BKSL>	{[	backslash,	bar,		dead_acute,	dead_grave	]};

	key <AB01>	{[	z,		Z,		0x1002124,	0x1002211	]};
	key <AB02>	{[	x,		X,		x,		X		]};
	key <AB03>	{[	c,		C,		copyright,	0x1002286	]};
	key <AB04>	{[	v,		V,		Greek_lambda,	Greek_LAMBDA	]};
	key <AB05>	{[	b,		B,		Greek_beta,	Greek_BETA	]};
	key <AB06>	{[	n,		N,		0x1002115,	no		]};
	key <AB07>	{[	m,		M,		0x10000B5,	0x100210E	]};
	key <AB08>	{[	comma,		less,		comma,		less		]};
	key <AB09>	{[	period,		greater,	period,		greater		]};
	key <AB10>	{[	slash,		question,	slash,		question	]};

	key <LSGT>	{[	period,		period,		period,		period		]}; // between SHIFT and Z

	include "nbsp(level3n)"
	include "keypad(ossmath)"
	include "kpdl(comma)"

	include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "nodeadkeys" { // NOT CONVERTED TO NUSS

	// Modifies the basic Norwegian layout to no dead keys

	include "no(basic)"

	name[Group1]="Norwegian (no dead keys)";

	key <AE12>	{ [	backslash,	grave,		acute,		ogonek		]};
	key <AD12>	{ [	diaeresis,	asciicircum,	asciitilde,	macron		]};
	key <AC10>	{ [	oslash,		Ooblique,	acute,		doubleacute	]};
	key <AC11>	{ [	ae,		AE,		asciicircum,	caron		]};
	key <AB08>	{ [	comma,		semicolon,	cedilla,	ogonek 		]};
	key <AB09>	{ [	period,		colon,		periodcentered,	abovedot 	]};
};