#ident "@(#)US4.kt 1.17 91/09/14 KEYTABLES SMI" # # Copyright (c) 1991, Sun Microsystems, Inc. RESTRICTED RIGHTS LEGEND: # Use, duplication, or disclosure by the Government is subject to # restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in # Technical Data and Computer Software clause at DFARS 52.227-7013 and # in similar clauses in the FAR and NASA FAR Supplement. # # Copyright (c) 1991 Sun Microsystems, Inc. # # Modified by Sergei O. Naoumov to suit a Russian # YAWERTY type keyboard (matches sounds of cyrillic sounds with # Latin letters). # # I do not garantee anything. Use on your own risk! # serge@astro.unc.edu # ###################################################################### # The current (default) column mappings are for standard X (see # Section 5 of the X Window System Protocol): # # ----------------------------------------------------------------------------- # | column 1 | column 2 | column 3 | column 4 | # ============================================================================= # | no mods | Shift | ModeSwitch | ModeSwitch Shift | # ----------------------------------------------------------------------------- #Keyword -- do not remove MODMAP #Keyword -- do not remove MAXKEYSPERMODIFIER 3 # # Modifier map # # The modifier map gets loaded according to the entries below. # Scancodes generally range from 1 to 255. Since X keycodes range # from 8 to 255, the MAXSCANCODE must be less than or equal to the # MINSCANCODE + 247. Consult your keyboard documentation to obtain # the scancode for each key. # # Note that you enter **scancodes** in the entries below, not keycodes. # For example, if you wanted the "lock" modifier group to contain the # keycode for XK_Caps_Lock, you would enter the scancode for the key # that has "CapsLock" printed on it. # # Notes: # The xmodmap utility can be used to verify the map during development. # In the output from xmodmap, KEYCODE = SCANCODE + (8 - MINSCANCODE). # # Format of an entry: # modifier_group_identifier scancode scancode ... # shift 99 110 122 # Left Shift, Right Shift lock 119 # CapsLock control 76 # Control mod1 120 # Left Meta, Right Meta mod2 13 67 # Altgraph mod3 98 # NumLock mod4 19 # Alt mod5 0 # None #Keyword -- do not remove END ###################################################################### #Keyword -- do not remove KEYSYMMAP #Keyword -- do not remove MINSCANCODE 1 #Keyword -- do not remove MAXSCANCODE 125 # # Keysym table # # The goal here is to specify all of the different keysyms that # appear on each phyical key. # # If "R" appears as the first attribute after the scancode, the # appropriate action will be taken to make this key REPEAT. # The default is NOREPEAT so be sure to specify "R" for all keys # you wish to be repeating keys (repeat keys generate multiple # keystrokes when held down -- see man page for xset). # # If "P" appears as the second attribute after the scancode, the # appropriate action will be taken to make the key a PSEUDOLOCK key. # The default is NOPSEUDOLOCK. Pseudolock keys are keys that do # not physically lock in the down state. The server simulates lock # key action by setting and clearing the appropriate modifier bit # in the modifier state mask on alternate KeyPress and KeyRelease # events of KeyPress-KeyRelease pairs. In other words, the first # time you press (and release) the key, lock is turned ON, the # next time you press (and release) the key, lock is turned OFF, etc. # # Format of an entry: # scancode {N|R}{N|P} keysym keysym ... # # Entry template: # 000 RN XK_Keysym XK_Keysym XK_Keysym XK_Keysym # # Notes: # Entries may be in any order. If there are duplicates, the # last of the duplicate entries takes precedence. # No space may appear between the attribute code letters. # ############################# First Row ################################ # #Scan Atts Col1 Col2 Col3 Col4 # 1 NN XK_L1 XK_L1 XK_L1 XK_L1 3 NN XK_L2 XK_L2 XK_L2 XK_L2 5 RN XK_F1 6 RN XK_F2 8 RN XK_F3 10 RN XK_F4 12 RN XK_F5 14 RN XK_F6 16 RN XK_F7 17 RN XK_F8 18 RN XK_F9 7 RN XK_F10 9 RN SunXK_F36 11 RN SunXK_F37 88 RN XK_backslash XK_bar XK_equal XK_plus 66 RN XK_Delete 21 NN XK_R1 XK_R1 XK_Pause 22 NN XK_R2 XK_R2 XK_Print 23 NN XK_R3 XK_R3 XK_Scroll_Lock XK_Break 98 NP XK_Num_Lock ############################# Second Row ############################### # #Scan Atts Col1 Col2 Col3 Col4 # 25 NN XK_L3 XK_L3 XK_L3 XK_L3 26 NN XK_L4 XK_L4 XK_L4 XK_L4 29 NN XK_Escape 30 RN XK_1 XK_exclam 31 RN XK_2 XK_at XK_2 XK_at 32 RN XK_3 XK_numbersign XK_3 XK_numbersign 33 RN XK_4 XK_dollar XK_4 XK_dollar 34 RN XK_5 XK_percent XK_5 XK_percent 35 RN XK_6 XK_asciicircum XK_6 XK_comma 36 RN XK_7 XK_ampersand XK_7 XK_period 37 RN XK_8 XK_asterisk 38 RN XK_9 XK_parenleft 39 RN XK_0 XK_parenright 40 RN XK_minus XK_underscore 41 RN XK_equal XK_plus 43 RN XK_BackSpace 45 RN XK_R4 XK_R4 XK_KP_Equal 46 RN XK_R5 XK_R5 XK_KP_Divide 47 RN XK_R6 XK_R6 XK_KP_Multiply 71 RN XK_KP_Subtract ############################# Third Row ################################ # #Scan Atts Col1 Col2 Col3 Col4 # 49 NN XK_L5 XK_L5 XK_L5 XK_L5 51 NN XK_L6 XK_L6 XK_L6 XK_L6 53 RN XK_Tab 54 RN XK_q XK_Q 0xca 0xea 55 RN XK_w XK_W 0xc3 0xe3 56 RN XK_e XK_E 0xd5 0xf5 57 RN XK_r XK_R 0xcb 0xeb 58 RN XK_t XK_T 0xc5 0xe5 59 RN XK_y XK_Y 0xce 0xee 60 RN XK_u XK_U 0xc7 0xe7 61 RN XK_i XK_I 0xdb 0xfb 62 RN XK_o XK_O 0xdd 0xfd 63 RN XK_p XK_P 0xda 0xfa 64 RN XK_bracketleft XK_braceleft 0xc8 0xe8 65 RN XK_bracketright XK_braceright 0xdf 0xff 89 RN XK_Return 68 RN XK_R7 XK_R7 XK_KP_7 XK_Home 69 RN XK_Up XK_R8 XK_KP_8 70 RN XK_R9 XK_R9 XK_KP_9 XK_Prior 125 RN XK_KP_Add ############################# Fourth Row ################################ # #Scan Atts Col1 Col2 Col3 Col4 # 72 NN XK_L7 XK_L7 XK_L7 XK_L7 73 NN XK_L8 XK_L8 XK_L8 XK_L8 76 NN XK_Control_L 77 RN XK_a XK_A 0xc6 0xe6 78 RN XK_s XK_S 0xd9 0xf9 79 RN XK_d XK_D 0xd7 0xf7 80 RN XK_f XK_F 0xc1 0xe1 81 RN XK_g XK_G 0xd0 0xf0 82 RN XK_h XK_H 0xd2 0xf2 83 RN XK_j XK_J 0xcf 0xef 84 RN XK_k XK_K 0xcc 0xec 85 RN XK_l XK_L 0xc4 0xe4 86 RN XK_semicolon XK_colon 0xd6 0xf6 87 RN XK_quoteright XK_quotedbl 0xdc 0xfc 42 RN XK_quoteleft XK_asciitilde 91 RN XK_Left XK_R10 XK_KP_4 92 RN XK_R11 XK_R11 XK_KP_5 93 RN XK_Right XK_R12 XK_KP_6 ############################# Fifth Row ################################ # #Scan Atts Col1 Col2 Col3 Col4 # 95 NN XK_L9 XK_L9 XK_L9 XK_L9 97 NN XK_L10 XK_L10 XK_L10 XK_L10 99 NN XK_Shift_L 100 RN XK_z XK_Z 0xd1 0xf1 101 RN XK_x XK_X 0xde 0xfe 102 RN XK_c XK_C 0xd3 0xf3 103 RN XK_v XK_V 0xcd 0xed 104 RN XK_b XK_B 0xc9 0xe9 105 RN XK_n XK_N 0xd4 0xf4 106 RN XK_m XK_M 0xd8 0xf8 107 RN XK_comma XK_less 0xc2 0xe2 108 RN XK_period XK_greater 0xc0 0xe0 109 RN XK_slash XK_question 0x3f 0xb3 110 NN XK_Shift_R 111 RN XK_Linefeed 112 RN XK_R13 XK_R13 XK_KP_1 XK_End 113 RN XK_Down XK_R14 XK_KP_2 114 RN XK_R15 XK_R15 XK_KP_3 XK_Next 90 RN XK_KP_Enter ############################# Sixth Row ################################ # #Scan Atts Col1 Col2 Col3 Col4 # 118 NN XK_Help 119 NP XK_Caps_Lock 19 NN XK_Alt_L 120 NN XK_Meta_L 121 RN XK_space 122 NP XK_Shift_R 67 NP SunXK_AltGraph 13 NP SunXK_AltGraph #67 NP XK_Alt_R #13 NN XK_Alt_R 94 NN XK_Insert XK_Insert XK_KP_0 50 RN XK_Delete XK_Delete XK_KP_Decimal #Keyword -- do not remove END ###################################################################### #Keyword -- do not remove LEDMAP # LED map # # The LED map gets placed in a property on the root window. # # Format of an entry: # keysym number # # Type 4 keyboard has 4 LEDs. #Keyword -- do not remove MAXLED 4 XK_Num_Lock 1 # NumLock SunXK_AltGraph 2 # Compose SunXK_AltGraph 3 # ScrollLock XK_Caps_Lock 4 # CapsLock #Keyword -- do not remove END ###################################################################### #Keyword -- do not remove ESCSEQUENCE # Escape Sequence # # The Escape Sequence is stored in the server. # # Format of an entry: # scancode # # Notes: Entries appear in the order they must be held down to trigger an # escape from the server. The maximum length of an escape sequence is 5 keys. # 1 # XK_L1 19 # XK_Alt_L 76 # XK_Conrol_L #Keyword -- do not remove END ######################################################################