summaryrefslogtreecommitdiffstats
path: root/xkb-jeyzu.patch
blob: 30813b33bf61bcf171fc31b491a63a1b5075190e (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
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
#  patch -p 1 -N -r -  < %
diff -Naur --no-dereference /usr/share/X11/xkb/geometry/typematrix xkb/geometry/typematrix
--- /usr/share/X11/xkb/geometry/typematrix	2024-02-05 15:14:49.000000000 +0100
+++ xkb/geometry/typematrix	2024-03-11 08:29:16.443856935 +0100
@@ -731,3 +731,15 @@
         };
     };
 }; // geometry tm2030USB-106
+
+xkb_geometry "tm2030USB-jeyzu" {
+    include "typematrix(tm2030_shape)"
+    include "typematrix(tm2030_MiscDiod_102)"
+    include "typematrix(tm2030_MiscDiod_off)"
+
+    description = "TypeMatrix EZ-Reach 2030 USB JeYzU";
+
+    include "typematrix(tm2030USB_func)"
+    include "typematrix(tm2030USB_alpha)"
+    include "typematrix(tm2030USB_ctrl)"
+}; // geometry tm2030USB-jeyzu
diff -Naur --no-dereference /usr/share/X11/xkb/rules/base xkb/rules/base
--- /usr/share/X11/xkb/rules/base	2024-02-05 15:14:49.000000000 +0100
+++ xkb/rules/base	2024-03-11 08:31:40.570657598 +0100
@@ -26,7 +26,7 @@
 ! $nokiamodels = nokiasu8w nokiarx44 nokiarx51
 
 // TypeMatrix geometries
-! $tmgeometries = tm2020 tm2030PS2 tm2030USB tm2030USB-102 tm2030USB-106
+! $tmgeometries = tm2020 tm2030PS2 tm2030USB tm2030USB-102 tm2030USB-106 tm2030USB-jeyzu
 
 // Country files that provide specializations for the OLPC:
 ! $olpclayouts = af am ara br ca es et fr in it kh kz mn ng np pk ru th tr us
diff -Naur --no-dereference /usr/share/X11/xkb/rules/base.lst xkb/rules/base.lst
--- /usr/share/X11/xkb/rules/base.lst	2024-02-05 15:14:49.000000000 +0100
+++ xkb/rules/base.lst	2024-03-11 08:38:39.861668692 +0100
@@ -182,6 +182,7 @@
   tm2030USB       TypeMatrix EZ-Reach 2030 USB
   tm2030USB-102   TypeMatrix EZ-Reach 2030 USB (102/105:EU mode)
   tm2030USB-106   TypeMatrix EZ-Reach 2030 USB (106:JP mode)
+  tm2030USB-jeyzu TypeMatrix EZ-Reach 2030 USB (JeYzU)
   unitekkb1925    Unitek KB-1925
   vsonku306       ViewSonic KU-306 Internet
   winbook         Winbook Model XP5
@@ -613,6 +614,7 @@
   OADG109A        jp: Japanese (OADG 109A)
   mac             jp: Japanese (Macintosh)
   dvorak          jp: Japanese (Dvorak)
+  jeyzu           jp: Japanese (JeYzU)
   kazrus          kz: Kazakh (with Russian)
   ext             kz: Kazakh (extended)
   latin           kz: Kazakh (Latin)
diff -Naur --no-dereference /usr/share/X11/xkb/rules/evdev xkb/rules/evdev
--- /usr/share/X11/xkb/rules/evdev	2024-02-05 15:14:49.000000000 +0100
+++ xkb/rules/evdev	2024-03-11 08:37:38.836042658 +0100
@@ -26,7 +26,7 @@
 ! $nokiamodels = nokiasu8w nokiarx44 nokiarx51
 
 // TypeMatrix geometries
-! $tmgeometries = tm2020 tm2030PS2 tm2030USB tm2030USB-102 tm2030USB-106
+! $tmgeometries = tm2020 tm2030PS2 tm2030USB tm2030USB-102 tm2030USB-106 tm2030USB-jeyzu
 
 // Country files that provide specializations for the OLPC:
 ! $olpclayouts = af am ara br ca es et fr in it kh kz mn ng np pk ru th tr us
diff -Naur --no-dereference /usr/share/X11/xkb/rules/evdev.lst xkb/rules/evdev.lst
--- /usr/share/X11/xkb/rules/evdev.lst	2024-02-05 15:14:49.000000000 +0100
+++ xkb/rules/evdev.lst	2024-03-11 08:38:11.947235775 +0100
@@ -182,6 +182,7 @@
   tm2030USB       TypeMatrix EZ-Reach 2030 USB
   tm2030USB-102   TypeMatrix EZ-Reach 2030 USB (102/105:EU mode)
   tm2030USB-106   TypeMatrix EZ-Reach 2030 USB (106:JP mode)
+  tm2030USB-jeyzu TypeMatrix EZ-Reach 2030 USB (JeYzU)
   unitekkb1925    Unitek KB-1925
   vsonku306       ViewSonic KU-306 Internet
   winbook         Winbook Model XP5
diff -Naur --no-dereference /usr/share/X11/xkb/symbols/jp xkb/symbols/jp
--- /usr/share/X11/xkb/symbols/jp	2024-02-05 15:14:49.000000000 +0100
+++ xkb/symbols/jp	2024-03-11 08:39:53.151565627 +0100
@@ -280,3 +280,15 @@
 	xkb_symbols "sun_type7" {
 	include "sun_vndr/jp(sun_type7)"
 };
+
+partial alphanumeric_keys
+    xkb_symbols "jeyzu" {
+    include "fr(bepo)"
+    name[Group1]="French (Bepo, ergonomic, Dvorak way, jeyzu)";
+    // First row
+    key <AE02> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [     less,            2,         guillemotleft,  leftdoublequotemark ] }; // < 2 « “
+    key <AE03> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [  greater,            3,        guillemotright, rightdoublequotemark ] }; // < 3 » ”
+    key <AE06> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [    equal,            6,              notequal                       ] }; // = 6 ^
+    key <AE11> {                                             [       at,       degree,           asciicircum,              minutes ] }; // @ ° ^ ′
+    key <SPCE> {                                             [    space,       Escape,            underscore,                U202F ] }; // ␣ escape _ (espace insécable fin)
+};