<!--?xml version="1.0" encoding="Big5"?-->

<Dialog width = "50*12+10" height = "50*6+10">
    <Edit name = 'edit'>
		<position> 1, 1, 48+50*11, 48 </position>
		<dock_side> LEFT, RIGHT</dock_side>              
    </Edit>

    <KeyButton name = "1">
        <key> '1' </key>
        <shiftkey> '1' </shiftkey>
        <symbolkey> '!' </symbolkey>
        <rect> 1, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "2">
        <key> '2' </key>
        <shiftkey> '2' </shiftkey>
        <symbolkey> '@' </symbolkey>
        <rect> 1+50, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "3">
        <key> '3' </key>
        <shiftkey> '3' </shiftkey>
        <symbolkey> '#' </symbolkey>
        <rect> 1+50*2, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "4">
        <key> '4' </key>
        <shiftkey> '4' </shiftkey>
        <symbolkey> '$' </symbolkey>
        <rect> 1+50*3, 1+50, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "5">
        <key> '5' </key>
        <shiftkey> '5' </shiftkey>
        <symbolkey> '%' </symbolkey>
        <rect> 1+50*4, 1+50, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "6">
        <key> '6' </key>
        <shiftkey> '6' </shiftkey>
        <symbolkey> '^' </symbolkey>
        <rect> 1+50*5, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "7">
        <key> '7' </key>
        <shiftkey> '7' </shiftkey>
        <symbolkey> '&amp;' </symbolkey>
        <rect> 1+50*6, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "8">
        <key> '8' </key>
        <shiftkey> '8' </shiftkey>
        <symbolkey> '*' </symbolkey>
        <rect> 1+50*7, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "9">
        <key> '9' </key>
        <shiftkey> '9' </shiftkey>
        <symbolkey> '(' </symbolkey>
        <rect> 1+50*8, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "0">
        <key> '0' </key>
        <shiftkey> '0' </shiftkey>
        <symbolkey> ')' </symbolkey>
        <rect> 1+50*9, 1+50, 48, 48 </rect>
    </KeyButton>
    
    <!--char-->
    <KeyButton name = "a">
        <key> 'a' </key>
        <shiftkey> 'A' </shiftkey>
        <symbolkey> '-' </symbolkey>
        <rect> 1, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "b">
        <key> 'b' </key>
        <shiftkey> 'B' </shiftkey>
        <symbolkey> '_' </symbolkey>
        <rect> 1+50, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "c">
        <key> 'c' </key>
        <shiftkey> 'C' </shiftkey>
        <symbolkey> '[' </symbolkey>
        <rect> 1+50*2, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "d">
        <key> 'd' </key>
        <shiftkey> "D" </shiftkey>
        <symbolkey> ']' </symbolkey>
        <rect> 1+50*3, 1+100, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "e">
        <key> 'e' </key>
        <shiftkey> "E" </shiftkey>
        <symbolkey> '~' </symbolkey>
        <rect> 1+50*4, 1+100, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "f">
        <key> 'f' </key>
        <shiftkey> 'F' </shiftkey>
        <symbolkey> '`' </symbolkey>
        <rect> 1+50*5, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "g">
        <key> 'g' </key>
        <shiftkey> 'G' </shiftkey>
        <symbolkey> '{' </symbolkey>
        <rect> 1+50*6, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "h">
        <key> 'h' </key>
        <shiftkey> 'H' </shiftkey>
        <symbolkey> '}' </symbolkey>
        <rect> 1+50*7, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "i">
        <key> 'i' </key>
        <shiftkey> 'I' </shiftkey>
        <symbolkey> '\\' </symbolkey>
        <rect> 1+50*8, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "j">
        <key> 'j' </key>
        <shiftkey> 'J' </shiftkey>
        <symbolkey> '|' </symbolkey>
        <rect> 1+50*9, 1+100, 48, 48 </rect>
    </KeyButton>
    
    <!--char-->
    <KeyButton name = "k">
        <key> 'k' </key>
        <shiftkey> 'K' </shiftkey>
        <symbolkey> '?' </symbolkey>
        <rect> 1, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "l">
        <key> 'l' </key>
        <shiftkey> 'L' </shiftkey>
        <symbolkey> '/' </symbolkey>
        <rect> 1+50, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "m">
        <key> 'm' </key>
        <shiftkey> 'M' </shiftkey>
        <symbolkey> '&lt;' </symbolkey>
        <rect> 1+50*2, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "n">
        <key> 'n' </key>
        <shiftkey> "N" </shiftkey>
        <symbolkey> '&gt;' </symbolkey>
        <rect> 1+50*3, 1+150, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "o">
        <key> 'o' </key>
        <shiftkey> 'O' </shiftkey>
        <symbolkey> ',' </symbolkey>
        <rect> 1+50*4, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "p">
        <key> 'p' </key>
        <shiftkey> "P" </shiftkey>
        <symbolkey> '.' </symbolkey>
        <rect> 1+50*5, 1+150, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "q">
        <key> 'q' </key>
        <shiftkey> 'Q' </shiftkey>
        <symbolkey> '&quot;' </symbolkey>
        <rect> 1+50*6, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "r">
        <key> 'r' </key>
        <shiftkey> 'R' </shiftkey>
        <symbolkey> '&apos;' </symbolkey>
        <rect> 1+50*7, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "s">
        <key> 's' </key>
        <shiftkey> 'S' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*8, 1+150, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "t">
        <key> 't' </key>
        <shiftkey> 'T' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*9, 1+150, 48, 48 </rect>
    </KeyButton>

    <!--char-->
    <KeyButton name = "u">
        <key> 'u' </key>
        <shiftkey> 'U' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "v">
        <key> 'v' </key>
        <shiftkey> 'V' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "w">
        <key> 'w' </key>
        <shiftkey> 'W' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*2, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "x">
        <key> 'x' </key>
        <shiftkey> "X" </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*3, 1+200, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "y">
        <key> 'y' </key>
        <shiftkey> 'Y' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*4, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "z">
        <key> 'z' </key>
        <shiftkey> "Z" </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*5, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <!--additional char-->
    <KeyButton name = "ex_char1">
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*6, 1+200, 48, 48 </rect>
    </KeyButton>

    <KeyButton name = "ex_char2">
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*7, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "ex_char3">
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*8, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "ex_char4">
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*9, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "ex_char5">
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*10, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <KeyButton name = "ex_char6">
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+50*11, 1+200, 48, 48 </rect>
    </KeyButton>
    
    <!--function key-->
    <KeyFuncButton name = "caps">
        <keyname> 'Caps Lock' </keyname>
        <keystyle> '3KeyButton' </keystyle>
        <key> 'SHIFT' </key>
        <shiftkey> 'SHIFT' </shiftkey>
        <symbolkey> 'SHIFT' </symbolkey>
        <rect> 1, 1+250, 48+ 100, 48 </rect>
    </KeyFuncButton>
    
    <KeyFuncButton name = "space">
        <keyname> 'Space' </keyname>
        <keystyle> 'SpacekeyButton' </keystyle>
        <key> ' ' </key>
        <shiftkey> ' ' </shiftkey>
        <symbolkey> ' ' </symbolkey>
        <rect> 1+150, 1+250, 48+50*5, 48 </rect>
    </KeyFuncButton>
    
    <KeyFuncButton name = "lang">
        <keyname> 'Language' </keyname>
        <keystyle> '3KeyButton' </keystyle>
        <key> 'LANG' </key>
        <shiftkey> 'LANG' </shiftkey>
        <symbolkey> 'LANG' </symbolkey>
        <rect> 1+450, 1+250, 48+50*2, 48 </rect>
    </KeyFuncButton>
    
    <KeyFuncButton name = "enter">
        <keyname> 'Enter' </keyname>
        <keystyle> 'EnterkeyButton' </keystyle>
        <key> 'ENTER' </key>
        <shiftkey> 'ENTER' </shiftkey>
        <symbolkey> 'ENTER' </symbolkey>
        <rect> 1+500, 1+100, 48+50, 48 </rect>
    </KeyFuncButton>
    
    <KeyFuncButton name = "symbol">
        <keyname> 'Symbol' </keyname>
        <keystyle> '3KeyButton' </keystyle>
        <key> 'SYMBOL' </key>
        <shiftkey> 'SYMBOL' </shiftkey>
        <symbolkey> 'SYMBOL' </symbolkey>
        <rect> 1+500, 1+150, 48+50, 48 </rect>
    </KeyFuncButton>
    
    <KeyFuncButton name = "delete">
        <keyname> 'Delete' </keyname>
        <keystyle> '2KeyButton' </keystyle>
        <key> 'DEL' </key>
        <shiftkey> 'DEL' </shiftkey>
        <symbolkey> 'DEL' </symbolkey>
        <rect> 1+50*10, 1+50, 48+50, 48 </rect>
    </KeyFuncButton>



    <dirmap from = "edit" down = "1"/>
    <dirmap from = "1" up = "edit"/>
    <dirmap from = "1" down = "a"/>
    <dirmap from = "1" right = "2"/>
    <dirmap from = "1" left = "delete"/>
    <dirmap from = "2" up = "edit"/>
    <dirmap from = "2" left = "1"/>
    <dirmap from = "2" right = "3"/>
    <dirmap from = "2" down = "b"/>
    <dirmap from = "3" up = "edit"/>
    <dirmap from = "3" left = "2"/>
    <dirmap from = "3" right = "4"/>
    <dirmap from = "3" down = "c"/>
    <dirmap from = "4" up = "edit"/>
    <dirmap from = "4" left = "3"/>
    <dirmap from = "4" right = "5"/>
    <dirmap from = "4" down = "d"/>
    <dirmap from = "5" up = "edit"/>
    <dirmap from = "5" left = "4"/>
    <dirmap from = "5" right = "6"/>
    <dirmap from = "5" down = "e"/>
    <dirmap from = "6" up = "edit"/>
    <dirmap from = "6" left = "5"/>
    <dirmap from = "6" right = "7"/>
    <dirmap from = "6" down = "f"/>
    <dirmap from = "7" up = "edit"/>
    <dirmap from = "7" left = "6"/>
    <dirmap from = "7" right = "8"/>
    <dirmap from = "7" down = "g"/>    
    <dirmap from = "8" up = "edit"/>
    <dirmap from = "8" left = "7"/>
    <dirmap from = "8" right = "9"/>
    <dirmap from = "8" down = "h"/>
    <dirmap from = "9" up = "edit"/>
    <dirmap from = "9" left = "8"/>
    <dirmap from = "9" right = "0"/>
    <dirmap from = "9" down = "i"/>
    <dirmap from = "0" up = "edit"/>
    <dirmap from = "0" left = "9"/>
    <dirmap from = "0" right = "delete"/>
    <dirmap from = "0" down = "j"/>
    <dirmap from = "a" up = "1"/>
    <dirmap from = "a" right = "b"/>
    <dirmap from = "a" down = "k"/>    
    <dirmap from = "a" left = "enter"/>
    <dirmap from = "b" up = "2"/>
    <dirmap from = "b" left = "a"/>
    <dirmap from = "b" right = "c"/>
    <dirmap from = "b" down = "l"/>
    <dirmap from = "c" up = "3"/>
    <dirmap from = "c" left = "b"/>
    <dirmap from = "c" right = "d"/>
    <dirmap from = "c" down = "m"/>
    <dirmap from = "d" up = "4"/>
    <dirmap from = "d" left = "c"/>
    <dirmap from = "d" right = "e"/>
    <dirmap from = "d" down = "n"/>
    <dirmap from = "e" up = "5"/>
    <dirmap from = "e" left = "d"/>
    <dirmap from = "e" right = "f"/>
    <dirmap from = "e" down = "o"/>
    <dirmap from = "f" up = "6"/>
    <dirmap from = "f" left = "e"/>
    <dirmap from = "f" right = "g"/>
    <dirmap from = "f" down = "p"/>
    <dirmap from = "g" up = "7"/>
    <dirmap from = "g" left = "f"/>
    <dirmap from = "g" right = "h"/>
    <dirmap from = "g" down = "q"/>
    <dirmap from = "h" up = "8"/>
    <dirmap from = "h" left = "g"/>
    <dirmap from = "h" right = "i"/>
    <dirmap from = "h" down = "r"/>
    <dirmap from = "i" up = "9"/>
    <dirmap from = "i" left = "h"/>
    <dirmap from = "i" right = "j"/>
    <dirmap from = "i" down = "s"/>
    <dirmap from = "j" up = "2"/>
    <dirmap from = "j" left = "i"/>
    <dirmap from = "j" right = "enter"/>
    <dirmap from = "j" down = "t"/>
    <dirmap from = "k" up = "a"/>
    <dirmap from = "k" right = "l"/>
    <dirmap from = "k" down = "u"/>
    <dirmap from = "k" left = "symbol"/>
    <dirmap from = "l" up = "b"/>
    <dirmap from = "l" left = "k"/>
    <dirmap from = "l" right = "m"/>
    <dirmap from = "l" down = "v"/>
    <dirmap from = "m" up = "c"/>
    <dirmap from = "m" left = "l"/>
    <dirmap from = "m" right = "n"/>
    <dirmap from = "m" down = "w"/>
    <dirmap from = "n" up = "d"/>
    <dirmap from = "n" left = "m"/>
    <dirmap from = "n" right = "o"/>
    <dirmap from = "n" down = "x"/>
    <dirmap from = "o" up = "e"/>
    <dirmap from = "o" left = "n"/>
    <dirmap from = "o" right = "p"/>
    <dirmap from = "o" down = "z"/>
    <dirmap from = "l" up = "b"/>
    <dirmap from = "l" left = "k"/>
    <dirmap from = "l" right = "m"/>
    <dirmap from = "l" down = "v"/>
    <dirmap from = "m" up = "c"/>
    <dirmap from = "m" left = "l"/>
    <dirmap from = "m" right = "n"/>
    <dirmap from = "m" down = "w"/>
    <dirmap from = "n" up = "d"/>
    <dirmap from = "n" left = "m"/>
    <dirmap from = "n" right = "o"/>
    <dirmap from = "n" down = "x"/>
    <dirmap from = "o" up = "e"/>
    <dirmap from = "o" left = "n"/>
    <dirmap from = "o" right = "p"/>
    <dirmap from = "o" down = "y"/>
    <dirmap from = "p" up = "f"/>
    <dirmap from = "p" left = "o"/>
    <dirmap from = "p" right = "q"/>
    <dirmap from = "p" down = "z"/>
    <dirmap from = "q" up = "g"/>
    <dirmap from = "q" left = "p"/>
    <dirmap from = "q" right = "r"/>
    <dirmap from = "q" down = "ex_char1"/>
    <dirmap from = "r" up = "h"/>
    <dirmap from = "r" left = "q"/>
    <dirmap from = "r" right = "s"/>
    <dirmap from = "r" down = "ex_char2"/>
    <dirmap from = "s" up = "i"/>
    <dirmap from = "s" left = "r"/>
    <dirmap from = "s" right = "t"/>
    <dirmap from = "s" down = "ex_char3"/>
    <dirmap from = "t" up = "j"/>
    <dirmap from = "t" left = "s"/>
    <dirmap from = "t" right = "symbol"/>
    <dirmap from = "t" down = "ex_char4"/>
    <dirmap from = "u" up = "k"/>
    <dirmap from = "u" right = "v"/>
    <dirmap from = "u" down = "caps"/>
    <dirmap from = "u" left = "ex_char6"/>
    <dirmap from = "v" up = "l"/>
    <dirmap from = "v" left = "u"/>
    <dirmap from = "v" right = "w"/>
    <dirmap from = "v" down = "caps"/>
    <dirmap from = "w" up = "m"/>
    <dirmap from = "w" left = "v"/>
    <dirmap from = "w" right = "x"/>
    <dirmap from = "w" down = "caps"/>
    <dirmap from = "x" up = "n"/>
    <dirmap from = "x" left = "w"/>
    <dirmap from = "x" right = "y"/>
    <dirmap from = "x" down = "space"/>
    <dirmap from = "y" up = "o"/>
    <dirmap from = "y" left = "x"/>
    <dirmap from = "y" right = "z"/>
    <dirmap from = "y" down = "space"/>
    <dirmap from = "z" up = "p"/>
    <dirmap from = "z" left = "y"/>
    <dirmap from = "z" right = "ex_char1"/>
    <dirmap from = "z" down = "space"/>
    <dirmap from = "ex_char1" up = "q"/>
    <dirmap from = "ex_char1" left = "z"/>
    <dirmap from = "ex_char1" right = "ex_char2"/>
    <dirmap from = "ex_char1" down = "space"/>
    <dirmap from = "ex_char2" up = "r"/>
    <dirmap from = "ex_char2" left = "ex_char1"/>
    <dirmap from = "ex_char2" right = "ex_char3"/>
    <dirmap from = "ex_char2" down = "space"/>
    <dirmap from = "ex_char3" up = "s"/>
    <dirmap from = "ex_char3" left = "ex_char2"/>
    <dirmap from = "ex_char3" right = "ex_char4"/>
    <dirmap from = "ex_char3" down = "space"/>
    <dirmap from = "ex_char4" up = "t"/>
    <dirmap from = "ex_char4" left = "ex_char3"/>
    <dirmap from = "ex_char4" right = "ex_char5"/>
    <dirmap from = "ex_char4" down = "lang"/>
    <dirmap from = "ex_char5" up = "symbol"/>
    <dirmap from = "ex_char5" left = "ex_char4"/>
    <dirmap from = "ex_char5" right = "ex_char6"/>
    <dirmap from = "ex_char5" down = "lang"/>
    <dirmap from = "ex_char6" up = "symbol"/>
    <dirmap from = "ex_char6" left = "ex_char5"/>
    <dirmap from = "ex_char6" down = "lang"/>
    <dirmap from = "ex_char6" right = "u"/>
    <dirmap from = "symbol" up = "enter"/>
    <dirmap from = "symbol" left = "t"/>
    <dirmap from = "symbol" down = "ex_char5"/>
    <dirmap from = "symbol" right = "k"/>
    <dirmap from = "caps" up = "u"/>
    <dirmap from = "caps" right = "space"/>
    <dirmap from = "caps" left = "lang"/>
    <dirmap from = "space" up = "x"/>
    <dirmap from = "space" left = "caps"/>
    <dirmap from = "space" right = "lang"/>
    <dirmap from = "lang" up = "ex_char4"/>
    <dirmap from = "lang" left = "space"/>
    <dirmap from = "lang" right = "caps"/>
    <dirmap from = "delete" up = "edit"/>
    <dirmap from = "delete" left = "9"/>
    <dirmap from = "delete" down = "enter"/>
    <dirmap from = "delete" right = "1"/>
    <dirmap from = "enter" up = "delete"/>
    <dirmap from = "enter" left = "j"/>
    <dirmap from = "enter" down = "symbol"/>
    <dirmap from = "enter" right = "a"/>
</Dialog>
