mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-02-10 06:40:09 +01:00
The attribute 'c' specifies the symbol in the center of a key, just like 'key0'. This adds consistency with the cardinal direction attributes and is intended to make layouts more readable.
60 lines
1.9 KiB
XML
60 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This file defines the QWERTY (US) layout.
|
|
|
|
A layout is made of keys arranged into rows. Each keys can be assigned several
|
|
symbols.
|
|
'key0' assigns the symbol on the middle of the key. 'nw', 'ne', etc.. assign
|
|
symbols to the corners of a key, they are arranged following the cardinal
|
|
directions:
|
|
|
|
nw n ne
|
|
w c e
|
|
sw s se
|
|
|
|
Symbols prefixed with 'loc ' are not visible on the keyboard. They are used to
|
|
specify a place for a key, if it needed to be added to the layout later.
|
|
(for example, by the "Add keys to keyboard" option)
|
|
|
|
Keys can be made bigger with the 'width' attribute and blank space can be added
|
|
on the left of a key with the 'shift' attribute.
|
|
|
|
See res/xml/bottom_row.xml for the definition of the bottom row and
|
|
doc/Possible-key-values.md for the keys that have a special meaning.
|
|
-->
|
|
<keyboard name="QWERTY (US)" script="latin">
|
|
<row>
|
|
<key c="q" ne="1" se="loc esc"/>
|
|
<key c="w" nw="~" ne="2" sw="\@"/>
|
|
<key c="e" nw="!" ne="3" sw="\#" se="loc €"/>
|
|
<key c="r" ne="4" sw="$"/>
|
|
<key c="t" ne="5" sw="%"/>
|
|
<key c="y" ne="6" sw="^"/>
|
|
<key c="u" ne="7" sw="&"/>
|
|
<key c="i" ne="8" sw="*"/>
|
|
<key c="o" ne="9" sw="(" se=")"/>
|
|
<key c="p" ne="0"/>
|
|
</row>
|
|
<row>
|
|
<key shift="0.5" c="a" nw="loc tab" ne="`"/>
|
|
<key c="s" ne="loc §" sw="loc ß"/>
|
|
<key c="d"/>
|
|
<key c="f"/>
|
|
<key c="g" ne="-" sw="_"/>
|
|
<key c="h" ne="=" sw="+"/>
|
|
<key c="j" se="}" sw="{"/>
|
|
<key c="k" sw="[" se="]"/>
|
|
<key c="l" ne="|" sw="\\"/>
|
|
</row>
|
|
<row>
|
|
<key width="1.5" c="shift" ne="loc capslock"/>
|
|
<key c="z"/>
|
|
<key c="x" ne="loc †"/>
|
|
<key c="c" ne="<" sw="."/>
|
|
<key c="v" ne=">" sw=","/>
|
|
<key c="b" ne="\?" sw="/"/>
|
|
<key c="n" ne=":" sw=";"/>
|
|
<key c="m" ne=""" sw="'"/>
|
|
<key width="1.5" c="backspace" ne="delete"/>
|
|
</row>
|
|
</keyboard>
|