# Sun Type 4 Catalan and Spanish keyboard mapping
#
# Antoni Pāmies Olivé <toni@readysoft.net>
#
keymaps 0-2,4-5,8-9,12
strings as usual
compose as usual for "iso-8859-1"

keycode   1 =
keycode   2 =
keycode   3 =
keycode   4 =
keycode   5 = F1
       shift   keycode   5 = F11
       altgr   keycode   5 = Console_13
       shift   control keycode   5 = VoidSymbol
       alt     keycode   5 = Console_1
       control alt     keycode   5 = Console_1
keycode   6 = F2
       shift   keycode   6 = F12
       altgr   keycode   6 = Console_14
       shift   control keycode   6 = VoidSymbol
       alt     keycode   6 = Console_2
       control alt     keycode   6 = Console_2
keycode   7 = F10
       shift   keycode   7 = F20
       altgr   keycode   7 = Console_22
       shift   control keycode   7 = VoidSymbol
       alt     keycode   7 = Console_10
       control alt     keycode   7 = Console_10
keycode   8 = F3
       shift   keycode   8 = F13
       altgr   keycode   8 = Console_15
       shift   control keycode   8 = VoidSymbol
       alt     keycode   8 = Console_3
       control alt     keycode   8 = Console_3
keycode   9 = F11
       altgr   keycode   9 = Console_23
       shift   control keycode   9 = VoidSymbol
       alt     keycode   9 = Console_11
       control alt     keycode   9 = Console_11
keycode  10 = F4
       shift   keycode  10 = F14
       altgr   keycode  10 = Console_16
       shift   control keycode  10 = VoidSymbol
       alt     keycode  10 = Console_4
       control alt     keycode  10 = Console_4
keycode  11 = F12
       altgr   keycode  11 = Console_24
       shift   control keycode  11 = VoidSymbol
       alt     keycode  11 = Console_12
       control alt     keycode  11 = Console_12
keycode  12 = F5
       shift   keycode  12 = F15
       altgr   keycode  12 = Console_17
       shift   control keycode  12 = VoidSymbol
       alt     keycode  12 = Console_5
       control alt     keycode  12 = Console_5
keycode  13 = AltGr
keycode  14 = F6
       shift   keycode  14 = F16
       altgr   keycode  14 = Console_18
       shift   control keycode  14 = VoidSymbol
       alt     keycode  14 = Console_6
       control alt     keycode  14 = Console_6
keycode  15 = bracketright braceright guillemotright
keycode  16 = F7       F17     Console_19      F8
       alt     keycode  16 = Console_7
       control alt     keycode  16 = Console_7
keycode  17 = F8               F18              Console_20
       alt     keycode  17 = Console_8
       control alt     keycode  17 = Console_8
keycode  18 = F9
       shift   keycode  18 = F19
       altgr   keycode  18 = Console_21
       shift   control keycode  18 = VoidSymbol
       alt     keycode  18 = Console_9
       control alt     keycode  18 = Console_9
keycode  19 = Alt
keycode  20 = Up
keycode  21 = Pause
keycode  22 =
keycode  23 = Scroll_Lock      Show_Memory      Show_Registers   Show_State
       alt     keycode  23 = Scroll_Lock
keycode  24 = Left
       alt     keycode  24 = Decr_Console
keycode  25 =
keycode  26 =
keycode  27 = Down
keycode  28 = Right
       alt     keycode  28 = Incr_Console
keycode  29 = Escape           Escape
       alt     keycode  29 = Meta_Escape
keycode  30 = one              exclam
       alt     keycode  30 = Meta_one
keycode  31 = two              quotedbl               at
       control keycode   31 = nul
       alt     keycode   31 = Meta_two
keycode  32 = three            periodcentered numbersign
       control keycode  32 = Escape
       alt     keycode  32 = Meta_three
keycode  33 = four             dollar
       control keycode  33 = Control_backslash
       alt     keycode  33 = Meta_four
keycode  34 = five             percent         degree
       control keycode  34 = Control_bracketright
       alt     keycode  34 = Meta_five
keycode  35 = six              ampersand notsign
       control keycode  35 = Control_asciicircum
       alt     keycode  35 = Meta_six
keycode  36 = seven            slash
       control keycode  36 = Control_underscore
       alt     keycode  36 = Meta_seven
keycode  37 = eight            parenleft
       control keycode  37 = Delete
       alt     keycode  37 = Meta_eight
keycode  38 = nine             parenright        backslash
       alt     keycode  38 = Meta_nine
keycode  39 = zero             equal       bar
       alt     keycode  39 = Meta_zero
keycode  40 = apostrophe            question       grave
       control keycode  40 = Control_underscore
       alt     keycode  40 = Meta_minus
keycode  41 = exclamdown questiondown asciitilde
       alt     keycode  41 = Meta_equal
keycode  42 = ccedilla Ccedilla
keycode  43 = Delete           Delete
       control keycode  43 = BackSpace
       alt     keycode  43 = Meta_Delete
keycode  44 = Insert
keycode  45 = equal
keycode  46 = KP_Divide
keycode  47 = KP_Multiply
keycode  48 =
keycode  49 =
keycode  50 = KP_Period
       control alt     keycode  50 = Boot
keycode  51 =
keycode  52 = Find
keycode  53 = Tab              Meta_Tab
       alt     keycode  53 = Meta_Tab
keycode  54 = q
keycode  55 = w
keycode  56 = +e       +E      Hex_E   Control_e       Control_e       Meta_e  Meta_Control_e
keycode  57 = r
keycode  58 = t
keycode  59 = y
keycode  60 = u
keycode  61 = i
keycode  62 = o O masculine
keycode  63 = p
keycode  64 = dead_grave      dead_circumflex asciicircum
       control keycode  64 = Escape
       alt     keycode  64 = Meta_bracketleft
keycode  65 = plus     asterisk       asciitilde
       control keycode  65 = Control_bracketright
       alt     keycode  65 = Meta_bracketright
keycode  66 = Delete           Delete
       control keycode  66 = BackSpace
keycode  67 = Compose
       alt     keycode  67 = Meta_Delete
keycode  68 = KP_7
       altgr   keycode  68 = Hex_7
       alt     keycode  68 = Ascii_7
keycode  69 = KP_8
       altgr   keycode  69 = Hex_8
       alt     keycode  69 = Ascii_8
keycode  70 = KP_9
       altgr   keycode  70 = Hex_9
       alt     keycode  70 = Ascii_9
keycode  71 = KP_Subtract
keycode  72 =
keycode  73 =
keycode  74 = Select
keycode  75 =
keycode  76 = Caps_Lock
keycode  77 = a        A       ordfeminine Control_a   Control_a       Meta_a  Meta_Control_a
keycode  78 = s
keycode  79 = +d       +D      Hex_D   Control_d       Control_d       Meta_d  Meta_Control_d
keycode  80 = +f       +F      Hex_F   Control_f       Control_f       Meta_f  Meta_Control_f
keycode  81 = g
keycode  82 = h
keycode  83 = j
keycode  84 = k
keycode  85 = l
keycode  86 = ntilde        Ntilde
       alt     keycode  86 = Meta_semicolon
keycode  87 = dead_acute       dead_diaeresis        braceleft
       control keycode  87 = Control_g
       alt     keycode  87 = Meta_apostrophe
keycode  88 = bracketleft braceleft guillemotleft
       control keycode  88 = Control_backslash
       alt     keycode  88 = Meta_backslash
       shift alt keycode 88 = Meta_asciitilde
keycode  89 = Return
       alt     keycode  89 = Meta_Control_m
keycode  90 = KP_Enter
keycode  91 = KP_4
       altgr   keycode  91 = Hex_4
       alt     keycode  91 = Ascii_4
keycode  92 = KP_5
       altgr   keycode  92 = Hex_5
       alt     keycode  92 = Ascii_5
keycode  93 = KP_6
       altgr   keycode  93 = Hex_6
       alt     keycode  93 = Ascii_6
keycode  94 = KP_0
       altgr   keycode  94 = Hex_0
       alt     keycode  94 = Ascii_0
keycode  95 =
keycode  96 = Prior
       shift   keycode  96 = Scroll_Backward
keycode  97 =
keycode  98 = Num_Lock
keycode  99 = Shift
keycode 100 = z
keycode 101 = x
keycode 102 = +c       +C      Hex_C   Control_c       Control_c       Meta_c  Meta_Control_c
keycode 103 = v
keycode 104 = +b       +B      Hex_B   Control_b       Control_b       Meta_b  Meta_Control_b
keycode 105 = n
keycode 106 = m
keycode 107 = comma            semicolon
       alt     keycode 107 = Meta_comma
       shift alt keycode 107 = Meta_less
keycode 108 = period           colon
       alt     keycode  108 = Meta_period
       shift alt keycode 108 = Meta_greater
keycode 109 = minus            underscore
       control keycode 109 = Delete
       alt     keycode 109 = Meta_slash
keycode 110 = Shift
keycode 111 = Linefeed
keycode 112 = KP_1
       altgr   keycode 112 = Hex_1
       alt     keycode 112 = Ascii_1
keycode 113 = KP_2
       altgr   keycode 113 = Hex_2
       alt     keycode 113 = Ascii_2
keycode 114 = KP_3
       altgr   keycode 114 = Hex_3
       alt     keycode 114 = Ascii_3
keycode 115 =
keycode 116 =
keycode 117 =
keycode 118 = Help
keycode 119 = Control
keycode 120 =
keycode 121 = space            space
       control keycode 121 = nul
       alt     keycode 121 = Meta_space
keycode 122 =
keycode 123 = Next
       shift   keycode 123 = Scroll_Forward
keycode 124 = less greater
keycode 125 = KP_Add
keycode 126 =
keycode 127 =
