Unexpected-Keyboard/srcs/layouts/latn_qwerty_us.xml
Jules Aguillon 6b1551d103 layouts format: Add 'c' as a synonym for 'key0'
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.
2024-11-24 10:56:19 +01:00

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="&amp;"/>
<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="&lt;" sw="."/>
<key c="v" ne="&gt;" sw=","/>
<key c="b" ne="\?" sw="/"/>
<key c="n" ne=":" sw=";"/>
<key c="m" ne="&quot;" sw="'"/>
<key width="1.5" c="backspace" ne="delete"/>
</row>
</keyboard>