keyboard.azerty.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <keyboard image="keyboard.png" default-layout="lowercase">
  2. <style name="basic">
  3. <state name="default">
  4. <text fontsize="12" offsetx="10" offsety="5" color="#FFFFFFFF"></text>
  5. <image x="0" y="0" w="28" h="28"></image>
  6. </state>
  7. <state name="active">
  8. <text fontsize="12" offsetx="11" offsety="6" color="#FFFFFFFF"></text>
  9. <image x="28" y="0" w="28" h="28"></image>
  10. </state>
  11. </style>
  12. <style name="spacebar">
  13. <state name="default"><image x="0" y="56" w="128" h="28"></image></state>
  14. <state name="active"><image x="0" y="84" w="128" h="28"></image></state>
  15. </style>
  16. <style name="special">
  17. <state name="default">
  18. <text fontsize="12" offsetx="7" offsety="5" color="#FFFFFFFF"></text>
  19. <image x="0" y="28" w="56" h="28"></image>
  20. </state>
  21. <state name="active">
  22. <text fontsize="12" offsetx="8" offsety="6" color="#FFFFFFFF"></text>
  23. <image x="56" y="28" w="56" h="28"></image>
  24. </state>
  25. </style>
  26. <style name="enter">
  27. <state name="default"><image x="56" y="0" w="56" h="28"></image></state>
  28. <state name="active"><image x="128" y="56" w="56" h="28"></image></state>
  29. </style>
  30. <style name="shift">
  31. <state name="default"><image x="145" y="0" w="56" h="28"></image></state>
  32. <state name="active"><image x="145" y="28" w="56" h="28"></image></state>
  33. </style>
  34. <style name="backspace">
  35. <state name="default"><image x="112" y="0" w="33" h="23"></image></state>
  36. <state name="active"><image x="112" y="23" w="33" h="23"></image></state>
  37. </style>
  38. <style name="input">
  39. <state name="default">
  40. <text fontsize="14" offsetx="-20" offsety="4" color="#FFFFFFFF"></text>
  41. <image x="255" y="0" w="1" h="28"></image>
  42. </state>
  43. <state name="active"><image x="255" y="0" w="1" h="28"></image></state>
  44. </style>
  45. <input style="input" x="0" y="58" w="320" h="28" max-width="260" cursor-color="#FFFFFFFF" cursor-height="22"></input>
  46. <layout name="lowercase" label="abc123">
  47. <button style="basic" x="6" y="88" w="28" h="28">1</button>
  48. <button style="basic" x="36" y="88" w="28" h="28">2</button>
  49. <button style="basic" x="66" y="88" w="28" h="28">3</button>
  50. <button style="basic" x="96" y="88" w="28" h="28">4</button>
  51. <button style="basic" x="126" y="88" w="28" h="28">5</button>
  52. <button style="basic" x="156" y="88" w="28" h="28">6</button>
  53. <button style="basic" x="186" y="88" w="28" h="28">7</button>
  54. <button style="basic" x="216" y="88" w="28" h="28">8</button>
  55. <button style="basic" x="246" y="88" w="28" h="28">9</button>
  56. <button style="basic" x="276" y="88" w="28" h="28">0</button>
  57. <button style="basic" x="10" y="118" w="28" h="28">a</button>
  58. <button style="basic" x="40" y="118" w="28" h="28">z</button>
  59. <button style="basic" x="70" y="118" w="28" h="28">e</button>
  60. <button style="basic" x="100" y="118" w="28" h="28">r</button>
  61. <button style="basic" x="130" y="118" w="28" h="28">t</button>
  62. <button style="basic" x="160" y="118" w="28" h="28">y</button>
  63. <button style="basic" x="190" y="118" w="28" h="28">u</button>
  64. <button style="basic" x="220" y="118" w="28" h="28">i</button>
  65. <button style="basic" x="250" y="118" w="28" h="28">o</button>
  66. <button style="basic" x="280" y="118" w="28" h="28">p</button>
  67. <button style="basic" x="18" y="148" w="28" h="28">q</button>
  68. <button style="basic" x="48" y="148" w="28" h="28">s</button>
  69. <button style="basic" x="78" y="148" w="28" h="28">d</button>
  70. <button style="basic" x="108" y="148" w="28" h="28">f</button>
  71. <button style="basic" x="138" y="148" w="28" h="28">g</button>
  72. <button style="basic" x="168" y="148" w="28" h="28">h</button>
  73. <button style="basic" x="198" y="148" w="28" h="28">j</button>
  74. <button style="basic" x="228" y="148" w="28" h="28">k</button>
  75. <button style="basic" x="258" y="148" w="28" h="28">l</button>
  76. <button style="basic" x="288" y="148" w="28" h="28">m</button>
  77. <button style="basic" x="30" y="178" w="28" h="28">w</button>
  78. <button style="basic" x="60" y="178" w="28" h="28">x</button>
  79. <button style="basic" x="90" y="178" w="28" h="28">c</button>
  80. <button style="basic" x="120" y="178" w="28" h="28">v</button>
  81. <button style="basic" x="150" y="178" w="28" h="28">b</button>
  82. <button style="basic" x="180" y="178" w="28" h="28">n</button>
  83. <button style="basic" x="210" y="178" w="28" h="28">'</button>
  84. <button type="layoutchangetemp" layout="uppercase" style="shift" x="250" y="178" w="56" h="28"></button>
  85. <button style="basic" x="194" y="208" w="28" h="28">,</button>
  86. <button style="basic" x="224" y="208" w="28" h="28">.</button>
  87. <button type="backspace" style="backspace" x="280" y="60" w="33" h="23"></button>
  88. <button style="spacebar" x="66" y="208" w="126" h="28">&#32;</button>
  89. <button type="enter" style="enter" x="254" y="208" w="56" h="28"></button>
  90. <button type="layoutchange" layout="uppercase" style="special" x="5" y="208" w="58" h="28">ABC?#%</button>
  91. </layout>
  92. <layout name="uppercase" label="ABC?#%">
  93. <button style="basic" x="6" y="88" w="28" h="28">!</button>
  94. <button style="basic" x="36" y="88" w="28" h="28">@</button>
  95. <button style="basic" x="66" y="88" w="28" h="28">#</button>
  96. <button style="basic" x="96" y="88" w="28" h="28">$</button>
  97. <button style="basic" x="126" y="88" w="28" h="28">%</button>
  98. <button style="basic" x="156" y="88" w="28" h="28">^</button>
  99. <button style="basic" x="186" y="88" w="28" h="28">&amp;</button>
  100. <button style="basic" x="216" y="88" w="28" h="28">*</button>
  101. <button style="basic" x="246" y="88" w="28" h="28">(</button>
  102. <button style="basic" x="276" y="88" w="28" h="28">)</button>
  103. <button style="basic" x="10" y="118" w="28" h="28">A</button>
  104. <button style="basic" x="40" y="118" w="28" h="28">Z</button>
  105. <button style="basic" x="70" y="118" w="28" h="28">E</button>
  106. <button style="basic" x="100" y="118" w="28" h="28">R</button>
  107. <button style="basic" x="130" y="118" w="28" h="28">T</button>
  108. <button style="basic" x="160" y="118" w="28" h="28">Y</button>
  109. <button style="basic" x="190" y="118" w="28" h="28">U</button>
  110. <button style="basic" x="220" y="118" w="28" h="28">I</button>
  111. <button style="basic" x="250" y="118" w="28" h="28">O</button>
  112. <button style="basic" x="280" y="118" w="28" h="28">P</button>
  113. <button style="basic" x="18" y="148" w="28" h="28">Q</button>
  114. <button style="basic" x="48" y="148" w="28" h="28">S</button>
  115. <button style="basic" x="78" y="148" w="28" h="28">D</button>
  116. <button style="basic" x="108" y="148" w="28" h="28">F</button>
  117. <button style="basic" x="138" y="148" w="28" h="28">G</button>
  118. <button style="basic" x="168" y="148" w="28" h="28">H</button>
  119. <button style="basic" x="198" y="148" w="28" h="28">J</button>
  120. <button style="basic" x="228" y="148" w="28" h="28">K</button>
  121. <button style="basic" x="258" y="148" w="28" h="28">L</button>
  122. <button style="basic" x="288" y="148" w="28" h="28">M</button>
  123. <button style="basic" x="30" y="178" w="28" h="28">W</button>
  124. <button style="basic" x="60" y="178" w="28" h="28">X</button>
  125. <button style="basic" x="90" y="178" w="28" h="28">C</button>
  126. <button style="basic" x="120" y="178" w="28" h="28">V</button>
  127. <button style="basic" x="150" y="178" w="28" h="28">B</button>
  128. <button style="basic" x="180" y="178" w="28" h="28">N</button>
  129. <button style="basic" x="210" y="178" w="28" h="28">"</button>
  130. <button type="layoutchange" layout="lowercase" style="shift" x="250" y="178" w="56" h="28"></button>
  131. <button style="basic" x="194" y="208" w="28" h="28">-</button>
  132. <button style="basic" x="224" y="208" w="28" h="28">?</button>
  133. <button type="backspace" style="backspace" x="280" y="60" w="33" h="23"></button>
  134. <button style="spacebar" x="66" y="208" w="126" h="28">&#32;</button>
  135. <button type="enter" style="enter" x="254" y="208" w="56" h="28"></button>
  136. <button type="layoutchange" layout="lowercase" style="special" x="5" y="208" w="58" h="28">abc123</button>
  137. </layout>
  138. </keyboard>