Files
DeviceManager/src/lib/serial/webserial/constants/key-map-defaults.js
2023-07-05 15:22:14 +02:00

161 lines
3.6 KiB
JavaScript

export let _keyMapDefaults = {
CHARACHORDER: [
0x0000, // 0,
0x013e, // 1, mouse right button press-and-release
"!".charCodeAt(0), // 2, !
0x0187, // 3, right gui
0x003f, // 4, ?
0x0000, // 5,
"b".charCodeAt(0), // 6, b
"q".charCodeAt(0), // 7, q
0x0115, // 8, previous phrase
"x".charCodeAt(0), // 9, x
0x0000, //10,
"f".charCodeAt(0), //11, f
"d".charCodeAt(0), //12, d
"h".charCodeAt(0), //13, h
"p".charCodeAt(0), //14, p
0x0000, //15, //'fed' is using this
0x0111, //16, ambi throw right
0x0113, //17, num-shift right
0x0186, //18, alt right
0x0185, //19, shift right
0x0000, //20,
0x0149, //21, mouse left hand down
0x014a, //22, mouse left hand right
0x014b, //23, mouse left hand up
0x014c, //24, mouse left hand left
0x0000, //25,
"s".charCodeAt(0), //26, s
";".charCodeAt(0), //27, ;
0x0184, //28, ctrl right
"y".charCodeAt(0), //29, y
0x0000, //30,
0x01a0, //31, arrow down
0x019e, //32, arrow right
0x01a1, //33, arrow up
0x019f, //34, arrow left
0x0000, //35,
"n".charCodeAt(0), //36, n
"j".charCodeAt(0), //37, j
0x0009, //38, tab horizontal
"l".charCodeAt(0), //39, l
0x0000, //40,
"t".charCodeAt(0), //41, t
" ".charCodeAt(0), //42, (space)
0x000a, //43, enter (line feed)
"a".charCodeAt(0), //44, a
0x0000, //45,
"/".charCodeAt(0), //46, /
"-".charCodeAt(0), //47, -
0x0183, //48, left gui
0x001b, //49, escape
0x0000, //50,
"w".charCodeAt(0), //51, w
0x013d, //52, mouse left button press-and-release
"g".charCodeAt(0), //53, g
"z".charCodeAt(0), //54, z
0x0151, //55, double click
"k".charCodeAt(0), //56, k
"v".charCodeAt(0), //57, v
"m".charCodeAt(0), //58, m
"c".charCodeAt(0), //59, c
0x0000, //60,
0x0110, //61, ambi throw left
0x0181, //62, shift left
0x0182, //63, alt left
0x0110, //64, num-shift left
0x0000, //65,
0x0149, //66, mouse right hand down
0x014a, //67, mouse right hand right
0x014b, //68, mouse right hand up
0x014c, //69, mouse right hand left
0x0000, //70,
"u".charCodeAt(0), //71, u
"\\".charCodeAt(0), //72, \
0x0180, //73, left ctrl
",".charCodeAt(0), //74, ,
0x0000, //75,
0x01a0, //76, arrow down
0x019e, //77, arrow right
0x01a1, //78, arrow up
0x019f, //79, arrow left
0x0000, //80,
"o".charCodeAt(0), //81, o
"i".charCodeAt(0), //82, i
0x007f, //83, del forward
".".charCodeAt(0), //84, .
0x0000, //85,
"e".charCodeAt(0), //86, e
"r".charCodeAt(0), //87, r
0x0008, //88, backspace
" ".charCodeAt(0), //89, (space)
],
CHARACHORDERLITE: [
"GTM", //0
"LCtrl", //1
"LAlt", //2
"LSpace", //3
"Present", //4
"Plural", //5
"RSpace", //6
"Dup", //7
"Win", //8
"Left", //9
"Down", //10
"Right", //11
"LShift", //12
"z", //13
"x", //14
"c", //15
"v", //16
"b", //17
"n", //18
"m", //19
",", //20
".", //21
"/", //22
"RShift", //23
"Up", //24
"Del", //25
"Spur", //26
"0x0061", //27
"s", //28
"d", //29
"f", //30
"g", //31
"h", //32
"j", //33
"k", //34
"l", //35
";", //36
"'", //37
"Tab", //38
"q", //39
"w", //40
"e", //41
"r", //42
"t", //43
"y", //44
"u", //45
"i", //46
"o", //47
"p", //48
"[", //49
"\\", //50
"1", //51
"2", //52
"3", //53
"4", //54
"5", //55
"6", //56
"7", //57
"8", //58
"9", //59
"0", //60
"-", //61
"=", //62
"Back", //63
],
}