From 38deb810f94d0e2fea91add4cd53fdd615d19d64 Mon Sep 17 00:00:00 2001 From: Ryan Gibb Date: Fri, 16 Feb 2024 20:09:28 +0000 Subject: [PATCH] Add QWERTY GB layout (#557) Adapted from latn_qwerty_us * Make it the default layout for en-GB --- check_layout.output | 4 +++- res/values/layouts.xml | 3 +++ res/xml/method.xml | 2 +- srcs/layouts/latn_qwerty_gb.xml | 37 +++++++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 srcs/layouts/latn_qwerty_gb.xml diff --git a/check_layout.output b/check_layout.output index 18d9fc9..54da50f 100644 --- a/check_layout.output +++ b/check_layout.output @@ -82,6 +82,8 @@ Layout doesn't define some important keys, missing: f11_placeholder, f12_placeho 1 warnings # latn_qwerty_es 0 warnings +# latn_qwerty_gb +0 warnings # latn_qwerty_hu 0 warnings # latn_qwerty_lv @@ -96,7 +98,7 @@ Layout doesn't define some important keys, missing: f11_placeholder, f12_placeho Duplicate keys: !, ', ,, -, ., ? 1 warnings # latn_qwerty_tly -Duplicate keys: a, c, g, j, q +Duplicate keys: a, c, j, q Layout doesn't define some important keys, missing: esc, f11_placeholder, f12_placeholder, tab 2 warnings # latn_qwerty_tr diff --git a/res/values/layouts.xml b/res/values/layouts.xml index 3e81732..f30dbed 100644 --- a/res/values/layouts.xml +++ b/res/values/layouts.xml @@ -32,6 +32,7 @@ latn_qwerty_br latn_qwerty_cz latn_qwerty_es + latn_qwerty_gb latn_qwerty_hu latn_qwerty_lv latn_qwerty_no @@ -82,6 +83,7 @@ QWERTY (Brasileiro) QWERTY (Czech) QWERTY (Español) + QWERTY (UK) QWERTY (Magyar) QWERTY (Latvian) QWERTY (Norwegian) @@ -132,6 +134,7 @@ @xml/latn_qwerty_br @xml/latn_qwerty_cz @xml/latn_qwerty_es + @xml/latn_qwerty_gb @xml/latn_qwerty_hu @xml/latn_qwerty_lv @xml/latn_qwerty_no diff --git a/res/xml/method.xml b/res/xml/method.xml index 6b6b559..06d1280 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -9,7 +9,7 @@ - + diff --git a/srcs/layouts/latn_qwerty_gb.xml b/srcs/layouts/latn_qwerty_gb.xml new file mode 100644 index 0000000..4abd761 --- /dev/null +++ b/srcs/layouts/latn_qwerty_gb.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +