Skip to content

Instantly share code, notes, and snippets.

@cattokomo
Last active April 28, 2024 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cattokomo/aae742ff647d0a52f6fa29845451bedd to your computer and use it in GitHub Desktop.
Save cattokomo/aae742ff647d0a52f6fa29845451bedd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!-- Custom Layout for Unexpected Keyboard -->
<!-- This file defines the QWERTY layout.
A layout is made of keys arranged into rows. 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.
'key0' assigns the symbol on the middle of the key. 'key1', 'key2', etc..
assign symbols to the corners of a key, they are arranged like this:
1 7 2
5 0 6
3 8 4
Keys 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)
See bottom_row.xml for the definition of the bottom row and neo2.xml for a
layout that re-defines it.
See srcs/juloo.keyboard2/KeyValue.java for the keys that have a special meaning.
-->
<keyboard name="QWERTY (US)" script="latin">
<row>
<key key0="q" key2="1"/>
<key key0="w" key1="~" key2="2" key3="\@"/>
<key key0="e" key1="!" key2="3" key3="\#" key4="loc €"/>
<key key0="r" key2="4" key3="$" key1="loc ₪"/>
<key key0="t" key2="5" key3="%"/>
<key key0="y" key2="6" key4="^"/>
<key key0="u" key2="7" key4="&amp;"/>
<key key0="i" key2="8" key4="*"/>
<key key0="o" key1="loc accent_macron" key2="9" key8="(" key7=")"/>
<key key0="p" key2="0" key3="f11_placeholder" key4="f12_placeholder"/>
</row>
<row>
<key width="1.1" shift="0.4" key0="a" key1="`"/>
<key key0="s" key1="loc accent_ring" key2="loc §" key3="loc ß" key4="loc accent_ogonek"/>
<key key0="d" key1="loc accent_grave" key2="loc £" key3="loc accent_aigu"/>
<key key0="f" key1="loc accent_dot_above"/>
<key key0="g" key1="loc accent_caron" key2="-" key3="_"/>
<key key0="h" key2="=" key4="+"/>
<key key0="j" key1="loc accent_trema" key3="loc accent_circonflexe" key2="}" key4="{"/>
<key key0="k" key1="loc accent_double_aigu" key4="[" key2="]"/>
<key key0="l" key2="|" key4="\\"/>
</row>
<row>
<key width="1.5" key0="shift" key2="tab" key1="loc capslock"/>
<key key0="z"/>
<key key0="x" key2="loc †"/>
<key key0="c" key2="loc accent_cedille" key1="&gt;" key3="&lt;"/>
<key key0="v" key2=":" key3=";"/>
<key key0="b" key2="," key4="."/>
<key key0="n" key1="loc accent_tilde" key2="\?" key4="/"/>
<key key0="m" key2="&quot;" key4="'"/>
<key width="1.5" key0="backspace" key1="esc" key2="delete"/>
</row>
</keyboard>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment