#
#  Swedish keymap for Atari Linux
#  Hacked together by Elias Mårtenson (elias@omicron.se)
#  I tried to make this keymap look as much like the swedish
#  TOS-keymap as possible. There are some problems with the
#  meta-keycodes though, there aren't enough keys for them.
#
strings as usual
compose as usual for "iso-8859-1"

keycode   0 =
keycode   1 = Escape           Escape          
	alt     keycode   1 = Meta_Escape     
	shift   alt     keycode   1 = Meta_Escape     
keycode   2 = one              exclam          
	alt     keycode   2 = Meta_one        
	shift   alt     keycode   2 = Meta_exclam     
keycode   3 = two              quotedbl               at              
	control keycode   3 = nul             
	alt     keycode   3 = Meta_two        
	shift   alt     keycode   3 = Meta_quotedbl         
	control alt     keycode   3 = Meta_nul        
keycode   4 = three            numbersign      
	control keycode   4 = Escape          
	alt     keycode   4 = Meta_three      
	shift   alt     keycode   4 = Meta_numbersign 
	control alt     keycode   4 = Meta_Escape     
keycode   5 = four             dollar           dollar          
	control keycode   5 = Control_backslash
	alt     keycode   5 = Meta_four       
	shift   alt     keycode   5 = Meta_dollar     
	control alt     keycode   5 = Meta_Control_backslash
keycode   6 = five             percent         
	control keycode   6 = Control_bracketright
	alt     keycode   6 = Meta_five       
	shift   alt     keycode   6 = Meta_percent    
	control alt     keycode   6 = Meta_Control_bracketright
keycode   7 = six              ampersand    
	control keycode   7 = Control_underscore
	alt     keycode   7 = Meta_six        
	shift   alt     keycode   7 = Meta_ampersand
	control alt     keycode   7 = Meta_Control_underscore
keycode   8 = seven            slash        braceleft       
	control keycode   8 = Control_underscore
	alt     keycode   8 = Meta_seven      
	shift   alt     keycode   8 = Meta_slash  
	control alt     keycode   8 = Meta_Control_underscore
keycode   9 = eight            parenleft         bracketleft     
	control keycode   9 = Delete          
	alt     keycode   9 = Meta_eight      
	shift   alt     keycode   9 = Meta_parenleft   
	control alt     keycode   9 = Meta_Delete     
keycode  10 = nine             parenright        bracketright    
	alt     keycode  10 = Meta_nine       
	shift   alt     keycode  10 = Meta_parenright
keycode  11 = zero             equal       braceright      
	alt     keycode  11 = Meta_zero       
	shift   alt     keycode  11 = Meta_equal
keycode  12 = plus            question       backslash       
#	control keycode  12 = Control_plus
	control keycode  12 = nul
	alt     keycode  12 = Meta_plus
	shift   alt     keycode  12 = Meta_question
#	control alt     keycode  12 = Meta_Control_plus
	control alt     keycode  12 = nul
keycode  13 = eacute            Eacute
	alt     keycode  13 = Meta_equal      
	shift   alt     keycode  13 = Meta_plus       
keycode  14 = Delete        Delete        Delete        Delete        Delete        Delete        Delete        Delete        Meta_Delete   Meta_Delete   Delete        Delete        Meta_Delete   Meta_Delete   Delete       Delete       
keycode  15 = Tab              Meta_Tab             
	alt     keycode  15 = Meta_Tab        
	shift   alt     keycode  15 = Meta_Tab        
keycode  16 = +q                +Q               
	control keycode  16 = Control_q       
	alt     keycode  16 = Meta_q          
	shift   alt     keycode  16 = Meta_Q          
	control alt     keycode  16 = Meta_Control_q  
keycode  17 = +w                +W               
	control keycode  17 = Control_w       
	alt     keycode  17 = Meta_w          
	shift   alt     keycode  17 = Meta_W          
	control alt     keycode  17 = Meta_Control_w  
keycode  18 = +e                +E               
	control keycode  18 = Control_e       
	alt     keycode  18 = Meta_e          
	shift   alt     keycode  18 = Meta_E          
	control alt     keycode  18 = Meta_Control_e  
keycode  19 = +r                +R               
	control keycode  19 = Control_r       
	alt     keycode  19 = Meta_r          
	shift   alt     keycode  19 = Meta_R          
	control alt     keycode  19 = Meta_Control_r  
keycode  20 = +t                +T               
	control keycode  20 = Control_t       
	alt     keycode  20 = Meta_t          
	shift   alt     keycode  20 = Meta_T          
	control alt     keycode  20 = Meta_Control_t  
keycode  21 = +y                +Y               
	control keycode  21 = Control_y       
	alt     keycode  21 = Meta_y          
	shift   alt     keycode  21 = Meta_Y          
	control alt     keycode  21 = Meta_Control_y  
keycode  22 = +u                +U               
	control keycode  22 = Control_u       
	alt     keycode  22 = Meta_u          
	shift   alt     keycode  22 = Meta_U          
	control alt     keycode  22 = Meta_Control_u  
keycode  23 = +i                +I               
	control keycode  23 = Tab             
	alt     keycode  23 = Meta_i          
	shift   alt     keycode  23 = Meta_I          
	control alt     keycode  23 = Meta_Tab        
keycode  24 = +o                +O               
	control keycode  24 = Control_o       
	alt     keycode  24 = Meta_o          
	shift   alt     keycode  24 = Meta_O          
	control alt     keycode  24 = Meta_Control_o  
keycode  25 = +p                +P               
	control keycode  25 = Control_p       
	alt     keycode  25 = Meta_p          
	shift   alt     keycode  25 = Meta_P          
	control alt     keycode  25 = Meta_Control_p  
keycode  26 = aring		Aring
	control keycode  26 = Escape          
	alt     keycode  26 = bracketleft
	shift   alt     keycode  26 = braceleft
	control alt     keycode  26 = Meta_Escape     
keycode  27 = udiaeresis	Udiaeresis	asciitilde      
	control keycode  27 = Control_bracketright
	alt     keycode  27 = bracketright
	shift   alt     keycode  27 = braceright
	control alt     keycode  27 = Meta_Control_bracketright
keycode  28 = Return          
	alt     keycode  28 = Meta_Control_m  
	shift   alt     keycode  28 = AltGr_Lock      
	control alt     keycode  28 = AltGr_Lock      
	shift   control alt     keycode  28 = AltGr_Lock      
keycode  29 = Control         
keycode  30 = +a                +A               
	control keycode  30 = Control_a       
	alt     keycode  30 = Meta_a          
	shift   alt     keycode  30 = Meta_A          
	control alt     keycode  30 = Meta_Control_a  
keycode  31 = +s                +S               
	control keycode  31 = Control_s       
	alt     keycode  31 = Meta_s          
	shift   alt     keycode  31 = Meta_S          
	control alt     keycode  31 = Meta_Control_s  
keycode  32 = +d                +D               
	control keycode  32 = Control_d       
	alt     keycode  32 = Meta_d          
	shift   alt     keycode  32 = Meta_D          
	control alt     keycode  32 = Meta_Control_d  
keycode  33 = +f                +F               
	control keycode  33 = Control_f       
	alt     keycode  33 = Meta_f          
	shift   alt     keycode  33 = Meta_F          
	control alt     keycode  33 = Meta_Control_f  
keycode  34 = +g                +G               
	control keycode  34 = Control_g       
	alt     keycode  34 = Meta_g          
	shift   alt     keycode  34 = Meta_G          
	control alt     keycode  34 = Meta_Control_g  
keycode  35 = +h                +H               
	control keycode  35 = BackSpace       
	alt     keycode  35 = Meta_h          
	shift   alt     keycode  35 = Meta_H          
	control alt     keycode  35 = Meta_BackSpace  
keycode  36 = +j                +J               
	control keycode  36 = Linefeed        
	alt     keycode  36 = Meta_j          
	shift   alt     keycode  36 = Meta_J          
	control alt     keycode  36 = Meta_Linefeed   
keycode  37 = +k                +K               
	control keycode  37 = Control_k       
	alt     keycode  37 = Meta_k          
	shift   alt     keycode  37 = Meta_K          
	control alt     keycode  37 = Meta_Control_k  
keycode  38 = +l                +L               
	control keycode  38 = Control_l       
	alt     keycode  38 = Meta_l          
	shift   alt     keycode  38 = Meta_L          
	control alt     keycode  38 = Meta_Control_l  
keycode  39 = odiaeresis	Odiaeresis
	alt     keycode  39 = Meta_semicolon  
	shift   alt     keycode  39 = Meta_colon      
keycode  40 = adiaeresis	Adiaeresis
	control keycode  40 = Control_g       
	alt     keycode  40 = grave
	shift   alt     keycode  40 = asciitilde
	control alt     keycode  40 = Meta_Control_g  
keycode  41 = apostrophe            asterisk
	control keycode  41 = nul             
	alt     keycode  41 = Meta_apostrophe  
	shift   alt     keycode  41 = Meta_asterisk
	control alt     keycode  41 = Meta_nul        
keycode  42 = Shift           
keycode  43 = backslash        bar             
	control keycode  43 = Control_backslash
	alt     keycode  43 = asciicircum
	shift   alt     keycode  43 = at
	control alt     keycode  43 = Meta_Control_backslash
keycode  44 = +z                +Z               
	control keycode  44 = Control_z       
	alt     keycode  44 = Meta_z          
	shift   alt     keycode  44 = Meta_Z          
	control alt     keycode  44 = Meta_Control_z  
keycode  45 = +x                +X               
	control keycode  45 = Control_x       
	alt     keycode  45 = Meta_x          
	shift   alt     keycode  45 = Meta_X          
	control alt     keycode  45 = Meta_Control_x  
keycode  46 = +c                +C               
	control keycode  46 = Control_c       
	alt     keycode  46 = Meta_c          
	shift   alt     keycode  46 = Meta_C          
	control alt     keycode  46 = Meta_Control_c  
keycode  47 = +v                +V               
	control keycode  47 = Control_v       
	alt     keycode  47 = Meta_v          
	shift   alt     keycode  47 = Meta_V          
	control alt     keycode  47 = Meta_Control_v  
keycode  48 = +b                +B               
	control keycode  48 = Control_b       
	alt     keycode  48 = Meta_b          
	shift   alt     keycode  48 = Meta_B          
	control alt     keycode  48 = Meta_Control_b  
keycode  49 = +n                +N               
	control keycode  49 = Control_n       
	alt     keycode  49 = Meta_n          
	shift   alt     keycode  49 = Meta_N          
	control alt     keycode  49 = Meta_Control_n  
keycode  50 = +m                +M               
	control keycode  50 = Control_m       
	alt     keycode  50 = Meta_m          
	shift   alt     keycode  50 = Meta_M          
	control alt     keycode  50 = Meta_Control_m  
keycode  51 = comma            semicolon
	alt     keycode  51 = Meta_comma      
	shift   alt     keycode  51 = Meta_semicolon
keycode  52 = period           colon 
	alt     keycode  52 = Meta_period     
	shift   alt     keycode  52 = Meta_colon
keycode  53 = minus            underscore
	control keycode  53 = Delete          
	alt     keycode  53 = Meta_minus
	shift   alt     keycode  53 = Meta_underscore
	control alt     keycode  53 = Meta_Delete     
keycode  54 = Shift           
keycode  55 =
keycode  56 = Alt             
keycode  57 = space            space           
	control keycode  57 = nul             
	alt     keycode  57 = Meta_space      
	shift   alt     keycode  57 = Meta_space      
	control alt     keycode  57 = Meta_nul        
keycode  58 = Caps_Lock       
	alt     keycode  58 = Num_Lock        
keycode  59 = F1               F11              Console_13      
	control keycode  59 = F1              
	alt     keycode  59 = Console_1       
	shift   alt     keycode  59 = Console_11      
	control alt     keycode  59 = F1              
keycode  60 = F2               F12              Console_14      
	control keycode  60 = F2              
	alt     keycode  60 = Console_2       
	shift   alt     keycode  60 = Console_12      
	control alt     keycode  60 = F2              
keycode  61 = F3               F13              Console_15      
	control keycode  61 = F3              
	alt     keycode  61 = Console_3       
	shift   alt     keycode  61 = Console_13      
	control alt     keycode  61 = F3              
keycode  62 = F4               F14              Console_16      
	control keycode  62 = F4              
	alt     keycode  62 = Console_4       
	shift   alt     keycode  62 = Console_14      
	control alt     keycode  62 = F4              
keycode  63 = F5               F15              Console_17      
	control keycode  63 = F5              
	alt     keycode  63 = Console_5       
	shift   alt     keycode  63 = Console_15      
	control alt     keycode  63 = F5              
keycode  64 = F6               F16              Console_18      
	control keycode  64 = F6              
	alt     keycode  64 = Console_6       
	shift   alt     keycode  64 = Console_16      
	control alt     keycode  64 = F6              
keycode  65 = F7               F17              Console_19      
	control keycode  65 = F7              
	alt     keycode  65 = Console_7       
	shift   alt     keycode  65 = Console_17      
	control alt     keycode  65 = F7              
keycode  66 = F8               F18              Console_20      
	control keycode  66 = F8              
	alt     keycode  66 = Console_8       
	shift   alt     keycode  66 = Console_18      
	control alt     keycode  66 = F8              
keycode  67 = F9               F19              Console_21      
	control keycode  67 = F9              
	alt     keycode  67 = Console_9       
	shift   alt     keycode  67 = Console_19      
	control alt     keycode  67 = F9              
keycode  68 = F10              F20              Console_22      
	control keycode  68 = F10             
	alt     keycode  68 = Console_10      
	shift   alt     keycode  68 = Console_20      
	control alt     keycode  68 = F10             
keycode  69 =
keycode  70 =
keycode  71 = Find            
	shift   keycode  71 = Select          
	shift   alt     keycode  71 = Select          
keycode  72 = Up              
	shift   keycode  72 = Prior           
	alt     keycode  72 = Scroll_Backward 
	shift   alt     keycode  72 = Prior           
keycode  73 =
keycode  74 = KP_Subtract     
keycode  75 = Left            
keycode  76 =
keycode  77 = Right           
keycode  78 = KP_Add          
keycode  79 =
keycode  80 = Down            
	shift   keycode  80 = Next            
	alt     keycode  80 = Scroll_Forward  
	shift   alt     keycode  80 = Next            
keycode  81 =
keycode  82 = Insert          
	alt     keycode  82 = Scroll_Lock     
keycode  83 = BackSpace           BackSpace
	alt     keycode  83 = Meta_BackSpace
	shift   alt     keycode  83 = Meta_BackSpace
	control alt     keycode  83 = Boot            
keycode  84 =
keycode  85 =
keycode  86 =
keycode  87 =
keycode  88 =
keycode  89 =
keycode  90 =
keycode  91 =
keycode  92 =
keycode  93 =
keycode  94 =
keycode  95 =
keycode  96 = less             greater
	alt	keycode	96 = Meta_less
	shift	alt	keycode	96 = Meta_greater
keycode  97 = Pause            Break           
	control keycode  97 = Pause           
	alt     keycode  97 = Last_Console    
keycode  98 = Macro            Show_Memory      Help             Help    Show_Registers   VoidSymbol       Help             Help           Show_State       VoidSymbol       Help             Help 
keycode  99 = parenleft        parenleft        VoidSymbol       VoidSymbol       parenleft        parenleft        VoidSymbol       VoidSymbol     parenleft        parenleft        VoidSymbol       VoidSymbol       parenleft        parenleft       
keycode 100 = parenright       parenright       VoidSymbol       VoidSymbol       parenright       parenright       VoidSymbol       VoidSymbol     parenright       parenright       VoidSymbol       VoidSymbol       parenright       parenright      
keycode 101 = KP_Divide       
keycode 102 = KP_Multiply     
keycode 103 = KP_7            
	alt     keycode 103 = Ascii_7         
keycode 104 = KP_8            
	alt     keycode 104 = Ascii_8         
keycode 105 = KP_9            
	alt     keycode 105 = Ascii_9         
keycode 106 = KP_4            
	alt     keycode 106 = Ascii_4         
keycode 107 = KP_5            
	alt     keycode 107 = Ascii_5         
keycode 108 = KP_6            
	alt     keycode 108 = Ascii_6         
keycode 109 = KP_1            
	alt     keycode 109 = Ascii_1         
keycode 110 = KP_2            
	alt     keycode 110 = Ascii_2         
keycode 111 = KP_3            
	alt     keycode 111 = Ascii_3         
keycode 112 = KP_0            
	alt     keycode 112 = Ascii_0         
keycode 113 = KP_Period       
	altgr   control keycode 113 = Boot            
keycode 114 = KP_Enter        
keycode 115 =
keycode 116 =
keycode 117 =
keycode 118 =
keycode 119 =
keycode 120 =
keycode 121 =
keycode 122 =
keycode 123 =
keycode 124 =
keycode 125 =
keycode 126 =
keycode 127 =
