From aa78229b2aef963d5f840b72d8aa3cad3a78dfc4 Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Sun, 3 Apr 2022 17:15:12 +0200
Subject: Add the Programming Layout option
Allow specifying a layout for programming and add a key for switching to
it easily.
The switching key is placed on the top edge of the space bar.
The option has no effect by default because the ergonomic isn't ideal,
it needs to be enabled explicitly.
Users of Latin-script languages certainly prefer to use one layout (for
programming or not). This feature might be removed in favor of a better
language-switching mechanisms in the future.
---
res/values/arrays.xml | 10 ++++++++++
res/values/strings.xml | 2 ++
2 files changed, 12 insertions(+)
(limited to 'res/values')
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 0c968e4..7412d55 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -28,6 +28,16 @@
- Bulgarian (Phonetic Traditional)
- Dvorak
+
+ - none
+ - qwerty
+ - dvorak
+
+
+ - @string/pref_programming_layout_none
+ - QWERTY
+ - Dvorak
+
- @string/pref_accents_e_all_installed
- @string/pref_accents_e_selected
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 906803f..250c2ac 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -11,6 +11,8 @@
Only show accents for the selected language
Show all accents
Hide accents
+ Keyboard layout for programming
+ None
Typing
Swiping distance
Distance of characters in the corners of the keys (%s)
--
cgit v1.2.3