shithub: riscv

Download patch

ref: d20cf9ff42af7b08261caa1ba0356b66b76b9618
parent: bc8eb6ef45d6831975606eb9932c6e72dd470b82
author: mkf <mkf@x230>
date: Mon Feb 6 12:40:26 EST 2023

add standard farsi keymap

--- /dev/null
+++ b/sys/lib/kbmap/fa
@@ -1,0 +1,640 @@
+0	0	0
+0	1	^[
+0	2	'۱
+0	3	'۲
+0	4	'۳
+0	5	'۴
+0	6	'۵
+0	7	'۶
+0	8	'۷
+0	9	'۸
+0	10	'۹
+0	11	'۰
+0	12	'-
+0	13	'=
+0	14	^H
+0	15	^I
+0	16	'ض
+0	17	'ص
+0	18	'ث
+0	19	'ق
+0	20	'ف
+0	21	'غ
+0	22	'ع
+0	23	'ه
+0	24	'خ
+0	25	'ح
+0	26	'ج
+0	27	'چ
+0	28	^J
+0	29	0xf862
+0	30	'ش
+0	31	'س
+0	32	'ی
+0	33	'ب
+0	34	'ل
+0	35	'ا
+0	36	'ت
+0	37	'ن
+0	38	'م
+0	39	'ک
+0	40	'گ
+0	41	'`
+0	42	0xf016
+0	43	'\
+0	44	'ظ
+0	45	'ط
+0	46	'ز
+0	47	'ر
+0	48	'ذ
+0	49	'د
+0	50	'پ
+0	51	'و
+0	52	'.
+0	53	'/
+0	54	0xf016
+0	55	'*
+0	56	0xf863
+0	57	0x20
+0	58	0xf862
+0	59	0xf001
+0	60	0xf002
+0	61	0xf003
+0	62	0xf004
+0	63	0xf005
+0	64	0xf006
+0	65	0xf007
+0	66	0xf008
+0	67	0xf009
+0	68	0xf00a
+0	69	0xf865
+0	70	0xf015
+0	71	'7
+0	72	'8
+0	73	'9
+0	74	'-
+0	75	'4
+0	76	'5
+0	77	'6
+0	78	'+
+0	79	'1
+0	80	'2
+0	81	'3
+0	82	'0
+0	83	'.
+0	84	0
+0	85	0
+0	86	0
+0	87	0xf00b
+0	88	0xf00c
+0	89	0
+0	90	0
+0	91	0
+0	92	0
+0	93	0
+0	94	0
+0	95	0
+0	96	0
+0	97	0
+0	98	0
+0	99	0
+0	100	0
+0	101	0
+0	102	0
+0	103	0
+0	104	0
+0	105	0
+0	106	0
+0	107	0
+0	108	0
+0	109	0
+0	110	0
+0	111	0
+0	112	0
+0	113	0
+0	114	0
+0	115	0
+0	116	0
+0	117	0
+0	118	0
+0	119	0
+0	120	0
+0	121	0xf800
+0	122	0
+0	123	0xf00e
+0	124	0
+0	125	0
+0	126	0
+0	127	0
+1	0	0
+1	1	^[
+1	2	'!
+1	3	'٬
+1	4	'٫
+1	5	'﷼
+1	6	'٪
+1	7	'×
+1	8	'،
+1	9	'*
+1	10	')
+1	11	'(
+1	12	'ـ
+1	13	'+
+1	14	^H
+1	15	^I
+1	16	'ْ
+1	17	'ٌ
+1	18	'ٍ
+1	19	'ً
+1	20	'ُ
+1	21	'ِ
+1	22	'َ
+1	23	'ّ
+1	24	']
+1	25	'[
+1	26	'}
+1	27	'{
+1	28	^J
+1	29	0xf862
+1	30	'ؤ
+1	31	'ئ
+1	32	'ي
+1	33	'إ
+1	34	'أ
+1	35	'آ
+1	36	'ة
+1	37	'»
+1	38	'«
+1	39	':
+1	40	'؛
+1	41	'‍
+1	42	0xf016
+1	43	'|
+1	44	'ك
+1	45	'ٓ
+1	46	'ژ
+1	47	'ٰ
+1	48	'‌
+1	49	'ٔ
+1	50	'ء
+1	51	'>
+1	52	'<
+1	53	'?
+1	54	0xf016
+1	55	'*
+1	56	0xf863
+1	57	0x20
+1	58	0xf862
+1	59	0xf001
+1	60	0xf002
+1	61	0xf003
+1	62	0xf004
+1	63	0xf005
+1	64	0xf006
+1	65	0xf007
+1	66	0xf008
+1	67	0xf009
+1	68	0xf00a
+1	69	0xf865
+1	70	0xf015
+1	71	'7
+1	72	'8
+1	73	'9
+1	74	'-
+1	75	'4
+1	76	'5
+1	77	'6
+1	78	'+
+1	79	'1
+1	80	'2
+1	81	'3
+1	82	'0
+1	83	'.
+1	84	0
+1	85	0
+1	86	0
+1	87	0xf00b
+1	88	0xf00c
+1	89	0
+1	90	0
+1	91	0
+1	92	0
+1	93	0
+1	94	0
+1	95	0
+1	96	0
+1	97	0
+1	98	0
+1	99	0
+1	100	0
+1	101	0
+1	102	0
+1	103	0
+1	104	0
+1	105	0
+1	106	0
+1	107	0
+1	108	0
+1	109	0
+1	110	0
+1	111	0
+1	112	0
+1	113	0
+1	114	0
+1	115	0
+1	116	0
+1	117	0
+1	118	0
+1	119	0
+1	120	0
+1	121	0xf00e
+1	122	0
+1	123	0xf00e
+1	124	0
+1	125	0
+1	126	0
+1	127	0
+2	0	0
+2	1	0
+2	2	0
+2	3	0
+2	4	0
+2	5	0
+2	6	0
+2	7	0
+2	8	0
+2	9	0
+2	10	0
+2	11	0
+2	12	0
+2	13	0
+2	14	0
+2	15	0
+2	16	0
+2	17	0
+2	18	0
+2	19	0
+2	20	0
+2	21	0
+2	22	0
+2	23	0
+2	24	0
+2	25	0
+2	26	0
+2	27	0
+2	28	^J
+2	29	0xf862
+2	30	0
+2	31	0
+2	32	0
+2	33	0
+2	34	0
+2	35	0
+2	36	0
+2	37	0
+2	38	0
+2	39	0
+2	40	0
+2	41	0
+2	42	0
+2	43	0
+2	44	0
+2	45	0
+2	46	0
+2	47	0
+2	48	0
+2	49	0
+2	50	0
+2	51	0
+2	52	0
+2	53	'/
+2	54	0
+2	55	0xf010
+2	56	0x200c
+2	57	0
+2	58	0
+2	59	0
+2	60	0
+2	61	0
+2	62	0
+2	63	0
+2	64	0
+2	65	0
+2	66	0
+2	67	0
+2	68	0
+2	69	0
+2	70	0xf861
+2	71	0xf00d
+2	72	0xf00e
+2	73	0xf00f
+2	74	0
+2	75	0xf011
+2	76	0
+2	77	0xf012
+2	78	0
+2	79	0xf018
+2	80	0xf800
+2	81	0xf013
+2	82	0xf014
+2	83	0x7f
+2	84	0
+2	85	0
+2	86	0
+2	87	0
+2	88	0
+2	89	0
+2	90	0
+2	91	0xf868
+2	92	0
+2	93	0
+2	94	0
+2	95	0
+2	96	0
+2	97	0
+2	98	0
+2	99	0
+2	100	0
+2	101	0
+2	102	0
+2	103	0
+2	104	0
+2	105	0
+2	106	0
+2	107	0
+2	108	0
+2	109	0
+2	110	0
+2	111	0
+2	112	0
+2	113	0
+2	114	0
+2	115	0
+2	116	0
+2	117	0
+2	118	0
+2	119	0
+2	120	0
+2	121	0xf00e
+2	122	0
+2	123	0
+2	124	0
+2	125	0
+2	126	0
+2	127	0
+3	0	0
+3	1	0
+3	2	'@
+3	3	'#
+3	4	'$
+3	5	'%
+3	6	'•
+3	7	'&
+3	8	'‎
+3	9	'_
+3	10	'−
+3	11	'0
+3	12	0
+3	13	0
+3	14	0
+3	15	0
+3	16	'°
+3	17	0
+3	18	'€
+3	19	0
+3	20	0
+3	21	0
+3	22	0
+3	23	'‭
+3	24	'‮
+3	25	'‬
+3	26	'‪
+3	27	'‫
+3	28	^J
+3	29	0xf862
+3	30	0
+3	31	0
+3	32	'ى
+3	33	0
+3	34	0
+3	35	'ٱ
+3	36	0
+3	37	'﴾
+3	38	'﴿
+3	39	';
+3	40	'"
+3	41	0
+3	42	0xf016
+3	43	0
+3	44	0
+3	45	0
+3	46	0
+3	47	'ٖ
+3	48	'‍
+3	49	'ٕ
+3	50	'…
+3	51	',
+3	52	''
+3	53	'?
+3	54	'‐
+3	55	0xf010
+3	56	' 
+3	57	0
+3	58	0
+3	59	0
+3	60	0
+3	61	0
+3	62	0
+3	63	0
+3	64	0
+3	65	0
+3	66	0
+3	67	0
+3	68	0
+3	69	0
+3	70	0xf861
+3	71	0xf00d
+3	72	0xf00e
+3	73	0xf00f
+3	74	0
+3	75	0xf011
+3	76	0
+3	77	0xf012
+3	78	0
+3	79	0xf018
+3	80	0xf800
+3	81	0xf013
+3	82	0xf014
+3	83	0x7f
+3	84	0
+3	85	0
+3	86	0
+3	87	0
+3	88	0
+3	89	0
+3	90	0
+3	91	0
+3	92	0
+3	93	0
+3	94	0
+3	95	0
+3	96	0
+3	97	0
+3	98	0
+3	99	0
+3	100	0
+3	101	0
+3	102	0
+3	103	0
+3	104	0
+3	105	0
+3	106	0
+3	107	0
+3	108	0
+3	109	0
+3	110	0
+3	111	0
+3	112	0
+3	113	0
+3	114	0
+3	115	0
+3	116	0
+3	117	0
+3	118	0
+3	119	0
+3	120	0
+3	121	0xf00e
+3	122	0
+3	123	0
+3	124	0
+3	125	0
+3	126	0
+3	127	0
+4	0	0
+4	1	^[
+4	2	^Q
+4	3	^R
+4	4	^S
+4	5	^T
+4	6	^U
+4	7	^V
+4	8	^W
+4	9	^X
+4	10	^Y
+4	11	^P
+4	12	^M
+4	13	^]
+4	14	^H
+4	15	^I
+4	16	^Q
+4	17	^W
+4	18	^E
+4	19	^R
+4	20	^T
+4	21	^Y
+4	22	^U
+4	23	^I
+4	24	^O
+4	25	^P
+4	26	^[
+4	27	^]
+4	28	^J
+4	29	0xf862
+4	30	^A
+4	31	^S
+4	32	^D
+4	33	^F
+4	34	^G
+4	35	^H
+4	36	^J
+4	37	^K
+4	38	^L
+4	39	^[
+4	40	^G
+4	41	0
+4	42	0xf016
+4	43	^\
+4	44	^Z
+4	45	^X
+4	46	^C
+4	47	^V
+4	48	^B
+4	49	^N
+4	50	^M
+4	51	^L
+4	52	^N
+4	53	^O
+4	54	0xf016
+4	55	^J
+4	56	0xf863
+4	57	0
+4	58	0xf862
+4	59	^E
+4	60	^F
+4	61	^G
+4	62	^D
+4	63	^E
+4	64	^F
+4	65	^G
+4	66	^L
+4	67	^M
+4	68	^N
+4	69	^E
+4	70	^F
+4	71	^W
+4	72	^X
+4	73	^Y
+4	74	^M
+4	75	^T
+4	76	^U
+4	77	^V
+4	78	^K
+4	79	^Q
+4	80	^R
+4	81	^S
+4	82	^P
+4	83	^N
+4	84	0
+4	85	0
+4	86	0
+4	87	^O
+4	88	^L
+4	89	0
+4	90	0
+4	91	0
+4	92	0
+4	93	0
+4	94	0
+4	95	0
+4	96	0
+4	97	0
+4	98	0
+4	99	0
+4	100	0
+4	101	0
+4	102	0
+4	103	0
+4	104	0
+4	105	0
+4	106	0
+4	107	0
+4	108	0
+4	109	0
+4	110	0
+4	111	0
+4	112	0
+4	113	0
+4	114	0
+4	115	0
+4	116	0
+4	117	0
+4	118	0
+4	119	0
+4	120	0
+4	121	^G
+4	122	0
+4	123	^H
+4	124	0
+4	125	0
+4	126	0
+4	127	0