Repo created
This commit is contained in:
parent
f2d952b743
commit
3ecd57d1b2
475 changed files with 37130 additions and 2 deletions
75
srcs/layouts/latn_qwerty_us.xml
Normal file
75
srcs/layouts/latn_qwerty_us.xml
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
<?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.
|
||||
|
||||
You can define your own bottom row by simply adding another '<row>...<row/>' tag
|
||||
then disabling the built-in bottom row by adding 'bottom_row="false"' to the
|
||||
keyboard metadata.
|
||||
|
||||
Useful links.
|
||||
|
||||
- Web based editor that will simplify editing of this file.
|
||||
https://unexpected-keyboard-layout-editor.lixquid.com
|
||||
|
||||
- Full guide on how to edit the layout.
|
||||
https://github.com/Julow/Unexpected-Keyboard/tree/master/doc/Custom-layouts.md
|
||||
|
||||
- Current definition of the bottom row (for easy importing).
|
||||
https://github.com/Julow/Unexpected-Keyboard/tree/master/res/xml/bottom_row.xml
|
||||
|
||||
- Built-in layouts (for easy importing)
|
||||
https://github.com/Julow/Unexpected-Keyboard/tree/master/srcs/layouts
|
||||
|
||||
-->
|
||||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue