📄 keyboard.zc
字号:
//[c]Keyboard Constants
//[c]
//[of]: license
//[c] Code Browser - a folding text editor for programmers
//[c] Copyright (C) 2003-07 Marc Kerbiquet
//[c]
//[c] This program is free software; you can redistribute it and/or modify
//[c] it under the terms of the GNU General Public License as published by
//[c] the Free Software Foundation; either version 2 of the License, or
//[c] (at your option) any later version.
//[c]
//[c] This program is distributed in the hope that it will be useful,
//[c] but WITHOUT ANY WARRANTY; without even the implied warranty of
//[c] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//[c] GNU General Public License for more details.
//[c]
//[c] You should have received a copy of the GNU General Public License
//[c] along with this program; if not, write to the Free Software
//[c] Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//[cf]
//[c]
public
equ SHIFT = 0x0001
equ CTRL = 0x0002
equ ALT = 0x0004
equ VK CANCEL = 0x03
equ VK BACK = 0x08
equ VK TAB = 0x09
equ VK CLEAR = 0x0C
equ VK RETURN = 0x0D
equ VK SHIFT = 0x10
equ VK CONTROL = 0x11
equ VK MENU = 0x12
equ VK PAUSE = 0x13
equ VK CAPITAL = 0x14
equ VK ESCAPE = 0x1B
equ VK SPACE = 0x20
equ VK PRIOR = 0x21
equ VK NEXT = 0x22
equ VK END = 0x23
equ VK HOME = 0x24
equ VK LEFT = 0x25
equ VK UP = 0x26
equ VK RIGHT = 0x27
equ VK DOWN = 0x28
equ VK SELECT = 0x29
equ VK PRINT = 0x2A
equ VK EXECUTE = 0x2B
equ VK INSERT = 0x2D
equ VK DELETE = 0x2E
equ VK HELP = 0x2F
// vk 0 thru vk 9 are the same as ASCII '0' thru '9' (= 0x30 - = 0x39)
// vk A thru vk Z are the same as ASCII 'A' thru 'Z' (= 0x41 - = 0x5A)
equ VK LWIN = 0x5B
equ VK RWIN = 0x5C
//equ VK APPS = 0x5D
equ VK NUMPAD0 = 0x60
equ VK NUMPAD1 = 0x61
equ VK NUMPAD2 = 0x62
equ VK NUMPAD3 = 0x63
equ VK NUMPAD4 = 0x64
equ VK NUMPAD5 = 0x65
equ VK NUMPAD6 = 0x66
equ VK NUMPAD7 = 0x67
equ VK NUMPAD8 = 0x68
equ VK NUMPAD9 = 0x69
equ VK MULTIPLY = 0x6A
equ VK ADD = 0x6B
equ VK SEPARATOR = 0x6C
equ VK SUBTRACT = 0x6D
equ VK DECIMAL = 0x6E
equ VK DIVIDE = 0x6F
equ VK F1 = 0x70
equ VK F2 = 0x71
equ VK F3 = 0x72
equ VK F4 = 0x73
equ VK F5 = 0x74
equ VK F6 = 0x75
equ VK F7 = 0x76
equ VK F8 = 0x77
equ VK F9 = 0x78
equ VK F10 = 0x79
equ VK F11 = 0x7A
equ VK F12 = 0x7B
equ VK F13 = 0x7C
equ VK F14 = 0x7D
equ VK F15 = 0x7E
equ VK F16 = 0x7F
equ VK F17 = 0x80
equ VK F18 = 0x81
equ VK F19 = 0x82
equ VK F20 = 0x83
equ VK F21 = 0x84
equ VK F22 = 0x85
equ VK F23 = 0x86
equ VK F24 = 0x87
equ VK NUMLOCK = 0x90
equ VK SCROLL = 0x91
equ VK LSHIFT = 0xA0
equ VK RSHIFT = 0xA1
equ VK LCONTROL = 0xA2
equ VK RCONTROL = 0xA3
equ VK LMENU = 0xA4
equ VK RMENU = 0xA5
equ VK OEM 1 = 0xBA
equ VK OEM PLUS = 0xBB
equ VK OEM COMMA = 0xBC
equ VK OEM MINUS = 0xBD
equ VK OEM PERIOD = 0xBE
equ VK OEM 2 = 0xBF
equ VK OEM 3 = 0xC0
equ VK OEM 4 = 0xDB
equ VK OEM 5 = 0xDC
equ VK OEM 6 = 0xDD
equ VK OEM 7 = 0xDE
equ VK OEM 8 = 0xDF
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -