Add mapping for backward slash

* Add mapping for backward slash
* Fix mapping for single/double quote
This commit is contained in:
Saad Malik
2018-01-28 17:11:13 -08:00
parent f8fbdf31fa
commit 9ade1f0a5d
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -69,8 +69,9 @@ const KEYCODE_KEY_MAPPINGS = {
191: ['/', '?'],
192: ['`', '~'],
219: ['[', '{'],
220: ['\\', '|'],
221: [']', '}'],
222: ['\'', '|']
222: ['\'', '"']
};
// Let it work inside Node.js for automated testing purposes.