btw i use nix
1<?xml version="1.0" encoding="utf-8"?>
2<keyboard name="QWERTY (UK)" script="latin">
3 <row>
4 <key key0="q" key2="1" key4="esc"/>
5 <key key0="w" key2="2" key3="""/>
6 <key key0="e" key1="!" key2="3" key3="loc £" key4="loc €"/>
7 <key key0="r" key2="4" key3="$" key1="loc ₪"/>
8 <key key0="t" key2="5" key3="%"/>
9 <key key0="y" key2="6" key3="^"/>
10 <key key0="u" key2="7" key3="&"/>
11 <key key0="i" key2="8" key3="*"/>
12 <key key0="o" key1="loc accent_macron" key2="9" key3="(" key4=")"/>
13 <key key0="p" key2="0" key3="f11_placeholder" key4="f12_placeholder"/>
14 </row>
15 <row>
16 <key key0="a" key2="`" key4="tab"/>
17 <key key0="s" key1="loc accent_ring" key2="loc §" key3="loc ß" key4="loc accent_ogonek"/>
18 <key key0="d" key1="loc accent_grave" key3="loc accent_aigu"/>
19 <key key0="f" key1="loc accent_dot_above"/>
20 <key key0="g" key1="loc accent_caron" key2="-" key3="_"/>
21 <key key0="h" key2="=" key3="+"/>
22 <key key0="j" key1="loc accent_trema" key2="loc accent_circonflexe" key4="}" key3="{"/>
23 <key key0="k" key1="loc accent_double_aigu" key3="[" key4="]"/>
24 <key key0="l" key2="\@" key3="'"/>
25 <key key0=";" key1="\#" key2="~" key3=":"/>
26 </row>
27 <row>
28 <key width="1" key0="shift" key2="loc capslock"/>
29 <key key0="z" key2="|" key3="\\"/>
30 <key key0="x" key2="loc †"/>
31 <key key0="c" key1="loc accent_tilde"/>
32 <key key0="v"/>
33 <key key0="b"/>
34 <key key0="n" key1="loc accent_cedille" key2="<" key3="."/>
35 <key key0="m" key2=">" key3=","/>
36 <key key0="/" key3="\?"/>
37 <key width="1" key0="backspace" key1="delete"/>
38 </row>
39</keyboard>