📄 x11-pc-ru.map
字号:
# Bochs Keymap file# $Id: x11-pc-ru.map,v 1.1 2004/10/17 17:16:43 vruppert Exp $# Target: PC(x86) keyboard, RU keymap# Author: Dmitry Soshnikov## The keymap file describes the layout of a keyboard, and how it translates# into Bochs key codes.## Format:# BX_Keysym ASCII_equivalent Xwin_Keysym## Or, for keys that require modifiers:# BX_Keysym+BX_Modifier ASCII_equivalent Xwin_Keysym## BX_Keysym and BX_Modifier must be present in the bx_key_symbol[] list in# gui/keymap.cc. The BX_Modifier is usually a shift key press, but it# could be any key. Presently a maximum of one modifier is supported, but this# could be changed in keymap.h (structure def has only one slot for modifier),# keymap.cc (parsing code), and iodev/keyboard.cc (simulate keypresses for >1# modifier).## The ASCII_equivalent must be either apostrophe + one character + apostrophe,# or one of these keywords: space, return, tab, backslash, apostrophe, none.# This format is designed to look like a char constant in C, but it's a very# simple parser. There's no concept of backslash being an escape char. The# backslash and apostrophe entries are provided for aesthetic purposes only: no# C++ programmer wants to see '\' or '''. The parser doesn't care, but they are# ugly.## Xwin_Keysym is the X windows equivalent of the key combination. These# codes should match whatever you find in /usr/X11R6/include/X11/keysymdef.h.# If you're running X windows, Bochs will take each of these Xwin_Keysyms,# pull off the XK_ in front, and use XStringToKeysym() to change them into# numerical codes. If this lookup fails, you will get a panic and you need# to edit the keymap file.## Note: this is charset-1251 layout map (using in Windows and some newest# implementations of Linux), which works properly. Users of KOI8-R should# slightly modify the map to achieve proper matching (actually didn't tested.# - D.S.) It concerns of "," and "." symbols, which are placed on the second# row of the keyboard (instead of placing it on "?/" button in charset-1251),# and some other (unimportant) symbols. Main symbolic keyboard should work.BX_KEY_0 '0' XK_0BX_KEY_0+BX_KEY_SHIFT_L ')' XK_parenrightBX_KEY_1 '1' XK_1BX_KEY_1+BX_KEY_SHIFT_L '!' XK_exclamBX_KEY_2 '2' XK_2BX_KEY_2+BX_KEY_SHIFT_L '"' XK_quotedblBX_KEY_3 '3' XK_3BX_KEY_3+BX_KEY_SHIFT_L '?' XK_numerosignBX_KEY_4 '4' XK_4BX_KEY_4+BX_KEY_SHIFT_L ';' XK_semicolonBX_KEY_5 '5' XK_5BX_KEY_5+BX_KEY_SHIFT_L '%' XK_percentBX_KEY_6 '6' XK_6BX_KEY_6+BX_KEY_SHIFT_L ':' XK_colonBX_KEY_7 '7' XK_7BX_KEY_7+BX_KEY_SHIFT_L '?' XK_questionBX_KEY_8 '8' XK_8BX_KEY_8+BX_KEY_SHIFT_L '*' XK_asteriskBX_KEY_9 '9' XK_9BX_KEY_9+BX_KEY_SHIFT_L '(' XK_parenleftBX_KEY_A+BX_KEY_SHIFT_L '
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -