patch-2.2.7 linux/drivers/usb/maps/usb.map

Next file: linux/drivers/usb/mkmap
Previous file: linux/drivers/usb/maps/serial.map
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.6/linux/drivers/usb/maps/usb.map linux/drivers/usb/maps/usb.map
@@ -0,0 +1,233 @@
+# USB kernel keymap.
+keymaps 0-2,4-5,8,12
+
+keycode   4 = a
+	altgr   keycode  30 = Hex_A
+keycode   5 = b
+	altgr   keycode  48 = Hex_B
+keycode   6 = c
+	altgr   keycode  46 = Hex_C   
+keycode   7 = d
+	altgr   keycode  32 = Hex_D   
+keycode   8 = e
+	altgr   keycode  18 = Hex_E   
+keycode   9 = f
+	altgr   keycode  33 = Hex_F               
+keycode  10 = g               
+keycode  11 = h               
+keycode  12 = i               
+keycode  13 = j               
+keycode  14 = k               
+keycode  15 = l               
+keycode  16 = m               
+keycode  17 = n               
+keycode  18 = o               
+keycode  19 = p               
+keycode  20 = q               
+keycode  21 = r               
+keycode  22 = s               
+keycode  23 = t               
+keycode  24 = u               
+keycode  25 = v               
+keycode  26 = w               
+keycode  27 = x               
+keycode  28 = y               
+keycode  29 = z               
+keycode  30 = one              exclam          
+	alt     keycode   2 = Meta_one        
+keycode  31 = two              at
+	control	keycode   3 = nul             
+	shift	control	keycode   3 = nul             
+	alt	keycode   3 = Meta_two        
+keycode  32 = three            numbersign      
+	control keycode   4 = Escape          
+	alt     keycode   4 = Meta_three      
+keycode  33 = four             dollar
+	control keycode   5 = Control_backslash
+	alt     keycode   5 = Meta_four       
+keycode  34 = five             percent         
+	control keycode   6 = Control_bracketright
+	alt     keycode   6 = Meta_five       
+keycode  35 = six              asciicircum     
+	control keycode   7 = Control_asciicircum
+	alt     keycode   7 = Meta_six        
+keycode  36 = seven            ampersand
+	control keycode   8 = Control_underscore
+	alt     keycode   8 = Meta_seven      
+keycode  37 = eight            asterisk
+	control keycode   9 = Delete          
+	alt     keycode   9 = Meta_eight      
+keycode  38 = nine             parenleft
+	alt     keycode  10 = Meta_nine       
+keycode  39 = zero             parenright
+	alt     keycode  11 = Meta_zero       
+keycode  40 = Return          
+	alt     keycode  28 = Meta_Control_m  
+keycode  41 = Escape           Escape          
+	alt     keycode   1 = Meta_Escape     
+keycode  42 = Delete           Delete          
+	control keycode  14 = BackSpace
+	alt     keycode  14 = Meta_Delete     
+keycode  43 = Tab              Tab             
+	alt     keycode  15 = Meta_Tab        
+keycode  44 = space            space           
+	control keycode  57 = nul             
+	alt     keycode  57 = Meta_space      
+keycode  45 = minus            underscore       backslash       
+	control	keycode  12 = Control_underscore
+	shift	control	keycode  12 = Control_underscore
+	alt	keycode  12 = Meta_minus      
+keycode  46 = equal            plus            
+	alt     keycode  13 = Meta_equal      
+keycode  47 = bracketleft      braceleft       
+	control keycode  26 = Escape          
+	alt     keycode  26 = Meta_bracketleft
+keycode  48 = bracketright     braceright       asciitilde      
+	control keycode  27 = Control_bracketright
+	alt     keycode  27 = Meta_bracketright
+keycode  49 = backslash        bar             
+	control keycode  43 = Control_backslash
+	alt     keycode  43 = Meta_backslash  
+keycode 50 =
+keycode  51 = semicolon        colon           
+	alt     keycode  39 = Meta_semicolon  
+keycode  52 = apostrophe       quotedbl        
+	control keycode  40 = Control_g       
+	alt     keycode  40 = Meta_apostrophe 
+keycode  53 = grave            asciitilde      
+	control keycode  41 = nul             
+	alt     keycode  41 = Meta_grave      
+keycode  54 = comma            less            
+	alt     keycode  51 = Meta_comma      
+keycode  55 = period           greater         
+	control keycode  52 = Compose         
+	alt     keycode  52 = Meta_period     
+keycode  56 = slash            question        
+	control keycode  53 = Delete          
+	alt     keycode  53 = Meta_slash      
+keycode  57 = Caps_Lock       
+keycode  58 = F1               F11              Console_13      
+	control keycode  59 = F1              
+	alt     keycode  59 = Console_1       
+	control alt     keycode  59 = Console_1       
+keycode  59 = F2               F12              Console_14      
+	control keycode  60 = F2              
+	alt     keycode  60 = Console_2       
+	control alt     keycode  60 = Console_2       
+keycode  60 = F3               F13              Console_15      
+	control keycode  61 = F3              
+	alt     keycode  61 = Console_3       
+	control alt     keycode  61 = Console_3       
+keycode  61 = F4               F14              Console_16      
+	control keycode  62 = F4              
+	alt     keycode  62 = Console_4       
+	control alt     keycode  62 = Console_4       
+keycode  62 = F5               F15              Console_17      
+	control keycode  63 = F5              
+	alt     keycode  63 = Console_5       
+	control alt     keycode  63 = Console_5       
+keycode  63 = F6               F16              Console_18      
+	control keycode  64 = F6              
+	alt     keycode  64 = Console_6       
+	control alt     keycode  64 = Console_6       
+keycode  64 = F7               F17              Console_19      
+	control keycode  65 = F7              
+	alt     keycode  65 = Console_7       
+	control alt     keycode  65 = Console_7       
+keycode  65 = F8               F18              Console_20      
+	control keycode  66 = F8              
+	alt     keycode  66 = Console_8       
+	control alt     keycode  66 = Console_8       
+keycode  66 = F9               F19              Console_21      
+	control keycode  67 = F9              
+	alt     keycode  67 = Console_9       
+	control alt     keycode  67 = Console_9       
+keycode  67 = F10              F20              Console_22      
+	control keycode  68 = F10             
+	alt     keycode  68 = Console_10      
+	control alt     keycode  68 = Console_10      
+keycode  68 = F11              F11              Console_23      
+	control keycode  87 = F11             
+	alt     keycode  87 = Console_11      
+	control alt     keycode  87 = Console_11      
+keycode  69 = F12              F12              Console_24      
+	control keycode  88 = F12             
+	alt     keycode  88 = Console_12      
+	control alt     keycode  88 = Console_12      
+keycode  70 = Print_Screen
+keycode  71 = Scroll_Lock      Show_Memory      Show_Registers  
+	control keycode  70 = Show_State      
+	alt     keycode  70 = Scroll_Lock     
+keycode  72 = Pause           
+keycode  73 = Insert          
+keycode  74 = Home
+keycode  75 = Prior           
+	shift   keycode 104 = Scroll_Backward 
+keycode  76 = Remove          
+#	altgr   control keycode 111 = Boot            
+	control alt     keycode 111 = Boot            
+keycode  77 = End
+keycode  78 = Next            
+	shift   keycode 109 = Scroll_Forward  
+keycode  79 = Right           
+	alt     keycode 106 = Incr_Console
+keycode  80 = Left            
+	alt     keycode 105 = Decr_Console
+keycode  81 = Down            
+keycode  82 = Up              
+keycode  83 = Num_Lock
+	shift   keycode  69 = Bare_Num_Lock
+keycode  84 = KP_Divide       
+keycode  85 = KP_Multiply     
+keycode  86 = KP_Subtract     
+keycode  87 = KP_Add          
+keycode  88 = KP_Enter        
+keycode  89 = KP_1            
+	alt     keycode  79 = Ascii_1         
+	altgr   keycode  79 = Hex_1         
+keycode  90 = KP_2            
+	alt     keycode  80 = Ascii_2         
+	altgr   keycode  80 = Hex_2         
+keycode  91 = KP_3            
+	alt     keycode  81 = Ascii_3         
+	altgr   keycode  81 = Hex_3         
+keycode  92 = KP_4            
+	alt     keycode  75 = Ascii_4         
+	altgr   keycode  75 = Hex_4         
+keycode  93 = KP_5            
+	alt     keycode  76 = Ascii_5         
+	altgr   keycode  76 = Hex_5         
+keycode  94 = KP_6            
+	alt     keycode  77 = Ascii_6         
+	altgr   keycode  77 = Hex_6         
+keycode  95 = KP_7            
+	alt     keycode  71 = Ascii_7         
+	altgr   keycode  71 = Hex_7         
+keycode  96 = KP_8            
+	alt     keycode  72 = Ascii_8         
+	altgr   keycode  72 = Hex_8         
+keycode  97 = KP_9            
+	alt     keycode  73 = Ascii_9         
+	altgr   keycode  73 = Hex_9         
+keycode  98 = KP_0            
+	alt     keycode  82 = Ascii_0         
+	altgr   keycode  82 = Hex_0         
+keycode  99 = KP_Period       
+#	altgr   control keycode  83 = Boot            
+	control alt     keycode  83 = Boot            
+keycode 100 =
+keycode 101 = Application
+keycode 102 =
+keycode 103 =
+keycode 104 = F13             
+keycode 105 = F14             
+
+# modifiers
+keycode 120 = Control
+keycode 121 = Shift
+keycode 122 = Alt
+keycode 123 = Window
+keycode 124 = Control_R
+keycode 125 = Shift_R
+keycode 126 = Alt_R
+keycode 127 = Window_R

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)