Path: blob/main/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.linux.ts
4780 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { KeyboardLayoutContribution } from './_.contribution.js';678KeyboardLayoutContribution.INSTANCE.registerKeyboardLayout({9layout: { model: 'pc105', group: 0, layout: 'us', variant: '', options: '', rules: 'evdev', isUSStandard: true },10secondaryLayouts: [11{ model: 'pc105', group: 0, layout: 'cn', variant: '', options: '', rules: 'evdev' },12],13mapping: {14Sleep: [],15WakeUp: [],16KeyA: ['a', 'A', 'a', 'A', 0],17KeyB: ['b', 'B', 'b', 'B', 0],18KeyC: ['c', 'C', 'c', 'C', 0],19KeyD: ['d', 'D', 'd', 'D', 0],20KeyE: ['e', 'E', 'e', 'E', 0],21KeyF: ['f', 'F', 'f', 'F', 0],22KeyG: ['g', 'G', 'g', 'G', 0],23KeyH: ['h', 'H', 'h', 'H', 0],24KeyI: ['i', 'I', 'i', 'I', 0],25KeyJ: ['j', 'J', 'j', 'J', 0],26KeyK: ['k', 'K', 'k', 'K', 0],27KeyL: ['l', 'L', 'l', 'L', 0],28KeyM: ['m', 'M', 'm', 'M', 0],29KeyN: ['n', 'N', 'n', 'N', 0],30KeyO: ['o', 'O', 'o', 'O', 0],31KeyP: ['p', 'P', 'p', 'P', 0],32KeyQ: ['q', 'Q', 'q', 'Q', 0],33KeyR: ['r', 'R', 'r', 'R', 0],34KeyS: ['s', 'S', 's', 'S', 0],35KeyT: ['t', 'T', 't', 'T', 0],36KeyU: ['u', 'U', 'u', 'U', 0],37KeyV: ['v', 'V', 'v', 'V', 0],38KeyW: ['w', 'W', 'w', 'W', 0],39KeyX: ['x', 'X', 'x', 'X', 0],40KeyY: ['y', 'Y', 'y', 'Y', 0],41KeyZ: ['z', 'Z', 'z', 'Z', 0],42Digit1: ['1', '!', '1', '!', 0],43Digit2: ['2', '@', '2', '@', 0],44Digit3: ['3', '#', '3', '#', 0],45Digit4: ['4', '$', '4', '$', 0],46Digit5: ['5', '%', '5', '%', 0],47Digit6: ['6', '^', '6', '^', 0],48Digit7: ['7', '&', '7', '&', 0],49Digit8: ['8', '*', '8', '*', 0],50Digit9: ['9', '(', '9', '(', 0],51Digit0: ['0', ')', '0', ')', 0],52Enter: ['\r', '\r', '\r', '\r', 0],53Escape: ['\u001b', '\u001b', '\u001b', '\u001b', 0],54Backspace: ['\b', '\b', '\b', '\b', 0],55Tab: ['\t', '', '\t', '', 0],56Space: [' ', ' ', ' ', ' ', 0],57Minus: ['-', '_', '-', '_', 0],58Equal: ['=', '+', '=', '+', 0],59BracketLeft: ['[', '{', '[', '{', 0],60BracketRight: [']', '}', ']', '}', 0],61Backslash: ['\\', '|', '\\', '|', 0],62Semicolon: [';', ':', ';', ':', 0],63Quote: ['\'', '"', '\'', '"', 0],64Backquote: ['`', '~', '`', '~', 0],65Comma: [',', '<', ',', '<', 0],66Period: ['.', '>', '.', '>', 0],67Slash: ['/', '?', '/', '?', 0],68CapsLock: [],69F1: [],70F2: [],71F3: [],72F4: [],73F5: [],74F6: [],75F7: [],76F8: [],77F9: [],78F10: [],79F11: [],80F12: [],81PrintScreen: [],82ScrollLock: [],83Pause: [],84Insert: [],85Home: [],86PageUp: [],87Delete: ['', '', '', '', 0],88End: [],89PageDown: [],90ArrowRight: [],91ArrowLeft: [],92ArrowDown: [],93ArrowUp: [],94NumLock: [],95NumpadDivide: ['/', '/', '/', '/', 0],96NumpadMultiply: ['*', '*', '*', '*', 0],97NumpadSubtract: ['-', '-', '-', '-', 0],98NumpadAdd: ['+', '+', '+', '+', 0],99NumpadEnter: ['\r', '\r', '\r', '\r', 0],100Numpad1: ['', '1', '', '1', 0],101Numpad2: ['', '2', '', '2', 0],102Numpad3: ['', '3', '', '3', 0],103Numpad4: ['', '4', '', '4', 0],104Numpad5: ['', '5', '', '5', 0],105Numpad6: ['', '6', '', '6', 0],106Numpad7: ['', '7', '', '7', 0],107Numpad8: ['', '8', '', '8', 0],108Numpad9: ['', '9', '', '9', 0],109Numpad0: ['', '0', '', '0', 0],110NumpadDecimal: ['', '.', '', '.', 0],111IntlBackslash: ['<', '>', '|', '¦', 0],112ContextMenu: [],113Power: [],114NumpadEqual: ['=', '=', '=', '=', 0],115F13: [],116F14: [],117F15: [],118F16: [],119F17: [],120F18: [],121F19: [],122F20: [],123F21: [],124F22: [],125F23: [],126F24: [],127Open: [],128Help: [],129Select: [],130Again: [],131Undo: [],132Cut: [],133Copy: [],134Paste: [],135Find: [],136AudioVolumeMute: [],137AudioVolumeUp: [],138AudioVolumeDown: [],139NumpadComma: ['.', '.', '.', '.', 0],140IntlRo: [],141KanaMode: [],142IntlYen: [],143Convert: [],144NonConvert: [],145Lang1: [],146Lang2: [],147Lang3: [],148Lang4: [],149Lang5: [],150NumpadParenLeft: ['(', '(', '(', '(', 0],151NumpadParenRight: [')', ')', ')', ')', 0],152ControlLeft: [],153ShiftLeft: [],154AltLeft: [],155MetaLeft: [],156ControlRight: [],157ShiftRight: [],158AltRight: [],159MetaRight: [],160BrightnessUp: [],161BrightnessDown: [],162MediaPlay: [],163MediaRecord: [],164MediaFastForward: [],165MediaRewind: [],166MediaTrackNext: [],167MediaTrackPrevious: [],168MediaStop: [],169Eject: [],170MediaPlayPause: [],171MediaSelect: [],172LaunchMail: [],173LaunchApp2: [],174LaunchApp1: [],175SelectTask: [],176LaunchScreenSaver: [],177BrowserSearch: [],178BrowserHome: [],179BrowserBack: [],180BrowserForward: [],181BrowserStop: [],182BrowserRefresh: [],183BrowserFavorites: [],184MailReply: [],185MailForward: [],186MailSend: []187}188189});190191192