@vscodium/native-keymap 3.3.7-258424 → 3.3.9-260952
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -71
- package/binding.gyp +4 -3
- package/checksum.txt +22 -22
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,82 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
[@vscodium/native-keymap](https://github.com/VSCodium/native-keymap)
|
|
2
|
+
======================================================================
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
[](https://npmjs.org/package/@vscodium/native-keymap)
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
* On Red Hat-based Linux: `sudo yum install libx11-devel.x86_64 libxkbfile-devel.x86_64 # or .i686`
|
|
8
|
-
* On SUSE-based Linux: `sudo zypper install libX11-devel libxkbfile-devel`
|
|
9
|
-
* On FreeBSD: `sudo pkg install libX11 libxkbfile`
|
|
6
|
+
## <a id="fork"></a>Why fork from microsoft/node-native-keymap
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```
|
|
8
|
+
The purpose of the fork is to provide prebuilt binaries for all the architectures supported by VSCodium.
|
|
9
|
+
The source code hasn't been changed.
|
|
14
10
|
|
|
15
|
-
##
|
|
11
|
+
## <a id="usage"></a>Usage
|
|
16
12
|
|
|
17
|
-
```
|
|
13
|
+
```js
|
|
18
14
|
var keymap = require('@vscodium/native-keymap');
|
|
19
15
|
console.log(keymap.getKeyMap());
|
|
20
16
|
```
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
[
|
|
25
|
-
...
|
|
26
|
-
Space: { vkey: 'VK_SPACE', value: ' ', withShift: ' ', withAltGr: '', withShiftAltGr: '' },
|
|
27
|
-
Minus: { vkey: 'VK_OEM_MINUS', value: '-', withShift: '_', withAltGr: '', withShiftAltGr: '' },
|
|
28
|
-
Equal: { vkey: 'VK_OEM_PLUS', value: '=', withShift: '+', withAltGr: '', withShiftAltGr: '' },
|
|
29
|
-
BracketLeft: { vkey: 'VK_OEM_4', value: '[', withShift: '{', withAltGr: '', withShiftAltGr: '' },
|
|
30
|
-
BracketRight: { vkey: 'VK_OEM_6', value: ']', withShift: '}', withAltGr: '', withShiftAltGr: '' },
|
|
31
|
-
Backslash: { vkey: 'VK_OEM_5', value: '\\', withShift: '|', withAltGr: '', withShiftAltGr: '' },
|
|
32
|
-
Semicolon: { vkey: 'VK_OEM_1', value: ';', withShift: ':', withAltGr: '', withShiftAltGr: '' },
|
|
33
|
-
Quote: { vkey: 'VK_OEM_7', value: '\'', withShift: '"', withAltGr: '', withShiftAltGr: '' },
|
|
34
|
-
Backquote: { vkey: 'VK_OEM_3', value: '`', withShift: '~', withAltGr: '', withShiftAltGr: '' },
|
|
35
|
-
Comma: { vkey: 'VK_OEM_COMMA', value: ',', withShift: '<', withAltGr: '', withShiftAltGr: '' },
|
|
36
|
-
Period: { vkey: 'VK_OEM_PERIOD', value: '.', withShift: '>', withAltGr: '', withShiftAltGr: '' },
|
|
37
|
-
Slash: { vkey: 'VK_OEM_2', value: '/', withShift: '?', withAltGr: '', withShiftAltGr: '' },
|
|
38
|
-
...
|
|
39
|
-
]
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Example output when using German (Swiss) keyboard layout (on Windows):
|
|
43
|
-
```
|
|
44
|
-
[
|
|
45
|
-
...
|
|
46
|
-
Space: { vkey: 'VK_SPACE', value: ' ', withShift: ' ', withAltGr: '', withShiftAltGr: '' },
|
|
47
|
-
Minus: { vkey: 'VK_OEM_4', value: '\'', withShift: '?', withAltGr: '´', withShiftAltGr: '' },
|
|
48
|
-
Equal: { vkey: 'VK_OEM_6', value: '^', withShift: '`', withAltGr: '~', withShiftAltGr: '' },
|
|
49
|
-
BracketLeft: { vkey: 'VK_OEM_1', value: 'ü', withShift: 'è', withAltGr: '[', withShiftAltGr: '' },
|
|
50
|
-
BracketRight: { vkey: 'VK_OEM_3', value: '¨', withShift: '!', withAltGr: ']', withShiftAltGr: '' },
|
|
51
|
-
Backslash: { vkey: 'VK_OEM_8', value: '$', withShift: '£', withAltGr: '}', withShiftAltGr: '' },
|
|
52
|
-
Semicolon: { vkey: 'VK_OEM_7', value: 'ö', withShift: 'é', withAltGr: '', withShiftAltGr: '' },
|
|
53
|
-
Quote: { vkey: 'VK_OEM_5', value: 'ä', withShift: 'à', withAltGr: '{', withShiftAltGr: '' },
|
|
54
|
-
Backquote: { vkey: 'VK_OEM_2', value: '§', withShift: '°', withAltGr: '', withShiftAltGr: '' },
|
|
55
|
-
Comma: { vkey: 'VK_OEM_COMMA', value: ',', withShift: ';', withAltGr: '', withShiftAltGr: '' },
|
|
56
|
-
Period: { vkey: 'VK_OEM_PERIOD', value: '.', withShift: ':', withAltGr: '', withShiftAltGr: '' },
|
|
57
|
-
Slash: { vkey: 'VK_OEM_MINUS', value: '-', withShift: '_', withAltGr: '', withShiftAltGr: '' },
|
|
58
|
-
...
|
|
59
|
-
]
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Supported OSes
|
|
63
|
-
|
|
64
|
-
- linux (X11)
|
|
65
|
-
- windows
|
|
66
|
-
- mac
|
|
67
|
-
- freebsd
|
|
68
|
-
|
|
69
|
-
## Known issues
|
|
70
|
-
|
|
71
|
-
- only tested from the Electron Main process
|
|
72
|
-
|
|
73
|
-
## Developing
|
|
74
|
-
|
|
75
|
-
- `npm install -g node-gyp`
|
|
76
|
-
- `node-gyp configure` (for debugging use `node-gyp configure -d`)
|
|
77
|
-
- `node-gyp build`
|
|
78
|
-
- `npm test` (for debugging change `index.js` to load the node module from the `Debug` folder and press `F5`)
|
|
79
|
-
|
|
80
|
-
## License
|
|
18
|
+
## <a id="license"></a>License
|
|
81
19
|
|
|
82
20
|
[MIT](https://github.com/VSCodium/native-keymap/blob/master/LICENSE)
|
package/binding.gyp
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"src/keymapping.cc"
|
|
8
8
|
],
|
|
9
9
|
'cflags': [
|
|
10
|
-
'-O2', '-
|
|
10
|
+
'-O2', '-fstack-protector-strong'
|
|
11
11
|
],
|
|
12
12
|
'msvs_configuration_attributes': {
|
|
13
13
|
'SpectreMitigation': 'Spectre'
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
'/guard:cf',
|
|
19
19
|
'/sdl',
|
|
20
20
|
'/W3',
|
|
21
|
-
'/
|
|
22
|
-
'/
|
|
21
|
+
'/we4146',
|
|
22
|
+
'/we4244',
|
|
23
|
+
'/we4267',
|
|
23
24
|
'/ZH:SHA_256'
|
|
24
25
|
]
|
|
25
26
|
},
|
package/checksum.txt
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
a54aed1ff10d7a295316a541f98e6215dc666dd688f5dd3495b5da187881abc5 native-keymap-3.3.9-260952-darwin-arm64.tar.gz
|
|
2
|
+
27ee94e3e1e88392e8246e5524e02c658860d0d64014f2c2140a3222ded234e6 native-keymap-3.3.9-260952-darwin-x64.tar.gz
|
|
3
|
+
8d9e5276c82388deb7a715e027ceac398591ed8e4a40213fe17b33fd1f7e8283 native-keymap-3.3.9-260952-linux-arm64.tar.gz
|
|
4
|
+
66326aef37a829bf6d4048fbef9993a588018a63d850d30ce7f10086d598fabc native-keymap-3.3.9-260952-linux-armhf.tar.gz
|
|
5
|
+
5662c84a845de403dd292a742d1b1de0f1da4e93069c80cb5035401c93b0f66b native-keymap-3.3.9-260952-linux-loong64.tar.gz
|
|
6
|
+
e2c0399418c14e09b296b30de397abab7986f39dd9e014d2354933ba04243418 native-keymap-3.3.9-260952-linux-ppc64le.tar.gz
|
|
7
|
+
3d7b9ea9b56acfb604bec95a45c4c8778be8fbf8e37d00cc71cee3919d89a615 native-keymap-3.3.9-260952-linux-riscv64.tar.gz
|
|
8
|
+
d90c2e4561324306db5d2eba183687a990840a24682486584f22c0d17515c188 native-keymap-3.3.9-260952-linux-s390x.tar.gz
|
|
9
|
+
3b79f4838a0a7bc070a9778c940afee02103c18a71a769e47a0e30c0d87a7f8e native-keymap-3.3.9-260952-linux-x64.tar.gz
|
|
10
|
+
8d626c6f371020a269fa059b5bbef3b8e8adc4b26892997df657082939f1385c *native-keymap-3.3.9-260952-win32-arm64.tar.gz
|
|
11
|
+
a62d1b5708a48a9f48b851456dadfee7689538097cece30d63e1334166e39965 *native-keymap-3.3.9-260952-win32-x64.tar.gz
|
|
12
|
+
a54aed1ff10d7a295316a541f98e6215dc666dd688f5dd3495b5da187881abc5 native-keymap-3.3.9-260952-darwin-arm64.tar.gz
|
|
13
|
+
27ee94e3e1e88392e8246e5524e02c658860d0d64014f2c2140a3222ded234e6 native-keymap-3.3.9-260952-darwin-x64.tar.gz
|
|
14
|
+
8d9e5276c82388deb7a715e027ceac398591ed8e4a40213fe17b33fd1f7e8283 native-keymap-3.3.9-260952-linux-arm64.tar.gz
|
|
15
|
+
66326aef37a829bf6d4048fbef9993a588018a63d850d30ce7f10086d598fabc native-keymap-3.3.9-260952-linux-armhf.tar.gz
|
|
16
|
+
5662c84a845de403dd292a742d1b1de0f1da4e93069c80cb5035401c93b0f66b native-keymap-3.3.9-260952-linux-loong64.tar.gz
|
|
17
|
+
e2c0399418c14e09b296b30de397abab7986f39dd9e014d2354933ba04243418 native-keymap-3.3.9-260952-linux-ppc64le.tar.gz
|
|
18
|
+
3d7b9ea9b56acfb604bec95a45c4c8778be8fbf8e37d00cc71cee3919d89a615 native-keymap-3.3.9-260952-linux-riscv64.tar.gz
|
|
19
|
+
d90c2e4561324306db5d2eba183687a990840a24682486584f22c0d17515c188 native-keymap-3.3.9-260952-linux-s390x.tar.gz
|
|
20
|
+
3b79f4838a0a7bc070a9778c940afee02103c18a71a769e47a0e30c0d87a7f8e native-keymap-3.3.9-260952-linux-x64.tar.gz
|
|
21
|
+
8d626c6f371020a269fa059b5bbef3b8e8adc4b26892997df657082939f1385c *native-keymap-3.3.9-260952-win32-arm64.tar.gz
|
|
22
|
+
a62d1b5708a48a9f48b851456dadfee7689538097cece30d63e1334166e39965 *native-keymap-3.3.9-260952-win32-x64.tar.gz
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscodium/native-keymap",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.9-260952",
|
|
4
4
|
"description": "Get OS key mapping",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
+
"ci:lint": "zizmor .",
|
|
9
|
+
"ci:lint:fix": "zizmor . --fix=all",
|
|
10
|
+
"ci:update": "pinact run -min-age 7 -update",
|
|
8
11
|
"install": "node install.js",
|
|
9
12
|
"release": "release-it --no-increment",
|
|
10
13
|
"test": "node test/test.js"
|
|
11
14
|
},
|
|
15
|
+
"homepage": "https://github.com/VSCodium/native-keymap",
|
|
12
16
|
"repository": {
|
|
13
17
|
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/
|
|
18
|
+
"url": "git+https://github.com/VSCodium/native-keymap.git"
|
|
15
19
|
},
|
|
16
20
|
"author": "Microsoft Corporation",
|
|
17
21
|
"license": "MIT",
|