shithub: riscv

Download patch

ref: 6c29cf79f073c71b1e0db1a9f713c52803ba32f7
parent: 1a900513fb137143e1c1f8177975952bc404f5a9
author: Sigrid <[email protected]>
date: Mon Dec 7 11:42:56 EST 2020

aux/kbdfs, kbmaps: enable Kmod4 for other layouts, not just neo2

--- a/sys/lib/kbmap/ascii
+++ b/sys/lib/kbmap/ascii
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/by
+++ b/sys/lib/kbmap/by
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/de
+++ b/sys/lib/kbmap/de
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/hr
+++ b/sys/lib/kbmap/hr
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/hu
+++ b/sys/lib/kbmap/hu
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/it
+++ b/sys/lib/kbmap/it
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/pl
+++ b/sys/lib/kbmap/pl
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/ru
+++ b/sys/lib/kbmap/ru
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/sg
+++ b/sys/lib/kbmap/sg
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/sr
+++ b/sys/lib/kbmap/sr
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/sr-latin
+++ b/sys/lib/kbmap/sr-latin
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/ua
+++ b/sys/lib/kbmap/ua
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/lib/kbmap/us
+++ b/sys/lib/kbmap/us
@@ -345,7 +345,7 @@
 2	88	0
 2	89	0
 2	90	0
-2	91	0
+2	91	0xf868
 2	92	0
 2	93	0
 2	94	0
--- a/sys/src/cmd/aux/kbdfs/kbdfs.c
+++ b/sys/src/cmd/aux/kbdfs/kbdfs.c
@@ -179,7 +179,7 @@
 [0x40]	0,	0,	0,	0,	0,	0,	Kbreak,	Khome,
 [0x48]	Kup,	Kpgup,	0,	Kleft,	0,	Kright,	0,	Kend,
 [0x50]	Kdown,	Kpgdown,Kins,	Kdel,	0,	0,	0,	0,
-[0x58]	0,	0,	0,	0,	0,	0,	0,	0,
+[0x58]	0,	0,	0,	Kmod4,	0,	0,	0,	0,
 [0x60]	0,	0,	0,	0,	0,	0,	0,	0,
 [0x68]	0,	0,	0,	0,	0,	0,	0,	0,
 [0x70]	0,	0,	0,	0,	0,	0,	0,	0,