Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add workman layout #745

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ This keyboard is especially useful if you use ConnectBot for SSH access. It prov

The supported keyboard layouts include Armenian (Հայերեն), Arabic (العربية),
British (en\_GB), Bulgarian (български език), Czech (Čeština), Danish (dansk),
Carpalx English (language "en-CX"), Dvorak English (language "en-DV"), English
(QWERTY), Finnish (Suomi), French (Français, AZERTY), German (Deutsch, QWERTZ),
Carpalx English (language "en-CX"), Dvorak English (language "en-DV"),
Workman English (language "en-WM"), English (QWERTY), Finnish (Suomi),
French (Français, AZERTY), German (Deutsch, QWERTZ),
German Neo2 (Deutsch, language "de-NE"),
Greek (ελληνικά), Hebrew (עברית), Hungarian (Magyar), Italian (Italiano), Lao
(ພາສາລາວ), Norwegian (Norsk bokmål), Persian (فارسی), Portuguese (Português),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class InputLanguageSelection extends PreferenceActivity {
// the available keyboard resources and dictionaries.
private static final String[] KBD_LOCALIZATIONS = {
"ar", "bg", "bg_ST", "ca", "cs", "cs_QY", "da", "de", "de_NE",
"el", "en", "en_CX", "en_DV", "en_GB", "es", "es_LA", "es_US",
"el", "en", "en_CX", "en_DV", "en_GB", "en_WM", "es", "es_LA", "es_US",
"fa", "fi", "fr", "fr_CA", "he", "hr", "hu", "hu_QY", "hy", "in",
"it", "iw", "ja", "ka", "ko", "lo", "lt", "lv", "nb", "nl", "pl",
"pt", "pt_PT", "rm", "ro", "ru", "ru_PH", "si", "sk", "sk_QY", "sl",
Expand All @@ -78,15 +78,15 @@ public class InputLanguageSelection extends PreferenceActivity {

private static final String[] KBD_5_ROW = {
"ar", "bg", "bg_ST", "cs", "cs_QY", "da", "de", "de_NE", "el",
"en", "en_CX", "en_DV", "en_GB", "es", "es_LA", "fa", "fi", "fr",
"en", "en_CX", "en_DV", "en_GB", "en_WM", "es", "es_LA", "fa", "fi", "fr",
"fr_CA", "he", "hr", "hu", "hu_QY", "hy", "it", "iw", "lo", "lt",
"nb", "pt_PT", "ro", "ru", "ru_PH", "si", "sk", "sk_QY", "sl",
"sr", "sv", "ta", "th", "tr", "uk"
};

private static final String[] KBD_4_ROW = {
"ar", "bg", "bg_ST", "cs", "cs_QY", "da", "de", "de_NE", "el",
"en", "en_CX", "en_DV", "es", "es_LA", "es_US", "fa", "fr", "fr_CA",
"en", "en_CX", "en_DV", "en_WM", "es", "es_LA", "es_US", "fa", "fr", "fr_CA",
"he", "hr", "hu", "hu_QY", "iw", "nb", "ru", "ru_PH", "sk", "sk_QY",
"sl", "sr", "sv", "tr", "uk"
};
Expand All @@ -100,6 +100,8 @@ private static String getLocaleName(Locale l) {
return "English (4x11)";
} else if (lang.equals("en") && country.equals("CX")) {
return "English (Carpalx)";
} else if (lang.equals("en") && country.equals("WM")) {
return "English (Workman)";
} else if (lang.equals("es") && country.equals("LA")) {
return "Español (Latinoamérica)";
} else if (lang.equals("cs") && country.equals("QY")) {
Expand Down
54 changes: 54 additions & 0 deletions app/src/main/res/values-en-rWM/donottranslate-altchars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2010, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="alternates_for_a">áàâãäåāæ</string>
<string name="alternates_for_b">5</string>
<string name="alternates_for_c">çčć¢</string>
<string name="alternates_for_d">2đ</string>
<string name="alternates_for_e">éèêëē€</string>
<string name="alternates_for_f">7₣</string>
<string name="alternates_for_g"></string>
<string name="alternates_for_h"></string>
<string name="alternates_for_i">íìîïī</string>
<string name="alternates_for_j">6</string>
<string name="alternates_for_k"></string>
<string name="alternates_for_l">£₤λ</string>
<string name="alternates_for_m">μ</string>
<string name="alternates_for_n">ñ</string>
<string name="alternates_for_o">óòôõöōø</string>
<string name="alternates_for_p">90π₱</string>
<string name="alternates_for_q">1</string>
<string name="alternates_for_r">3</string>
<string name="alternates_for_s">§ßš</string>
<string name="alternates_for_t"></string>
<string name="alternates_for_u">8úùûüū</string>
<string name="alternates_for_v"></string>
<string name="alternates_for_w">4</string>
<string name="alternates_for_x"></string>
<string name="alternates_for_y">ýÿ¥</string>
<string name="alternates_for_z">ž</string>

<string name="alternates_for_a_umlaut"></string>
<string name="alternates_for_ae"></string>
<string name="alternates_for_cyrillic_e"></string>
<string name="alternates_for_cyrillic_soft_sign"></string>
<string name="alternates_for_o_umlaut"></string>
<string name="alternates_for_oe"></string>
</resources>
223 changes: 223 additions & 0 deletions app/src/main/res/values-en-rWM/donottranslate-keymap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2010, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
**
**
** 5-row layout for English Workman.
**
** See http://code.google.com/p/hackerskeyboard/wiki/AddingNewLayouts for
** more information.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="key_tlde_main">`</string>
<string name="key_tlde_shift">~</string>
<string name="key_tlde_alt">`~</string>

<string name="key_ae01_main">1</string>
<string name="key_ae01_shift">!</string>
<string name="key_ae01_alt">1!¡¹½⅓¼⅛</string>

<string name="key_ae02_main">2</string>
<string name="key_ae02_shift">\@</string>
<string name="key_ae02_alt">2\@²⅔</string>

<string name="key_ae03_main">3</string>
<string name="key_ae03_shift">#</string>
<string name="key_ae03_alt">3#³¾⅜♥♠♦♣</string>

<string name="key_ae04_main">4</string>
<string name="key_ae04_shift">$</string>
<string name="key_ae04_alt">4$⁴¢£€¥</string>

<string name="key_ae05_main">5</string>
<string name="key_ae05_shift">%</string>
<string name="key_ae05_alt">5%⅝‰</string>

<string name="key_ae06_main">6</string>
<string name="key_ae06_shift">^</string>
<string name="key_ae06_alt">6^↑↓←→</string>

<string name="key_ae07_main">7</string>
<string name="key_ae07_shift">&amp;</string>
<string name="key_ae07_alt">7&amp;⅞♪</string>

<string name="key_ae08_main">8</string>
<string name="key_ae08_shift">*</string>
<string name="key_ae08_alt">8*•★∞†‡</string>

<string name="key_ae09_main">9</string>
<string name="key_ae09_shift">(</string>
<string name="key_ae09_alt">9(√</string>

<string name="key_ae10_main">0</string>
<string name="key_ae10_shift">)</string>
<string name="key_ae10_alt">0)ⁿ°</string>

<string name="key_ae11_main">-</string>
<string name="key_ae11_shift">_</string>
<string name="key_ae11_alt">-_—–</string>

<string name="key_ae12_main">=</string>
<string name="key_ae12_shift">+</string>
<string name="key_ae12_alt">=+≈≠±×÷</string>


<string name="key_ad01_main">q</string>
<string name="key_ad01_shift"></string>
<string name="key_ad01_alt">@string/alternates_for_q</string>

<string name="key_ad02_main">d</string>
<string name="key_ad02_shift"></string>
<string name="key_ad02_alt">@string/alternates_for_d</string>

<string name="key_ad03_main">r</string>
<string name="key_ad03_shift"></string>
<string name="key_ad03_alt">@string/alternates_for_r</string>

<string name="key_ad04_main">w</string>
<string name="key_ad04_shift"></string>
<string name="key_ad04_alt">@string/alternates_for_w</string>

<string name="key_ad05_main">b</string>
<string name="key_ad05_shift"></string>
<string name="key_ad05_alt">@string/alternates_for_b</string>

<string name="key_ad06_main">j</string>
<string name="key_ad06_shift"></string>
<string name="key_ad06_alt">@string/alternates_for_j</string>

<string name="key_ad07_main">f</string>
<string name="key_ad07_shift"></string>
<string name="key_ad07_alt">@string/alternates_for_f</string>

<string name="key_ad08_main">u</string>
<string name="key_ad08_shift"></string>
<string name="key_ad08_alt">@string/alternates_for_u</string>

<string name="key_ad09_main">p</string>
<string name="key_ad09_shift"></string>
<string name="key_ad09_alt">@string/alternates_for_p</string>

<string name="key_ad10_main">;</string>
<string name="key_ad10_shift">:</string>
<string name="key_ad10_alt">;:</string>

<string name="key_ad11_main">[</string>
<string name="key_ad11_shift">{</string>
<string name="key_ad11_alt">[{</string>

<string name="key_ad12_main">]</string>
<string name="key_ad12_shift">}</string>
<string name="key_ad12_alt">]}</string>

<string name="key_bksl_main">\\</string>
<string name="key_bksl_shift">|</string>
<string name="key_bksl_alt">\\|</string>


<string name="key_ac01_main">a</string>
<string name="key_ac01_shift"></string>
<string name="key_ac01_alt">@string/alternates_for_a</string>

<string name="key_ac02_main">s</string>
<string name="key_ac02_shift"></string>
<string name="key_ac02_alt">@string/alternates_for_s</string>

<string name="key_ac03_main">h</string>
<string name="key_ac03_shift"></string>
<string name="key_ac03_alt">@string/alternates_for_h</string>

<string name="key_ac04_main">t</string>
<string name="key_ac04_shift"></string>
<string name="key_ac04_alt">@string/alternates_for_t</string>

<string name="key_ac05_main">g</string>
<string name="key_ac05_shift"></string>
<string name="key_ac05_alt">@string/alternates_for_g</string>

<string name="key_ac06_main">y</string>
<string name="key_ac06_shift"></string>
<string name="key_ac06_alt">@string/alternates_for_y</string>

<string name="key_ac07_main">n</string>
<string name="key_ac07_shift"></string>
<string name="key_ac07_alt">@string/alternates_for_n</string>

<string name="key_ac08_main">e</string>
<string name="key_ac08_shift"></string>
<string name="key_ac08_alt">@string/alternates_for_e</string>

<string name="key_ac09_main">o</string>
<string name="key_ac09_shift"></string>
<string name="key_ac09_alt">@string/alternates_for_o</string>

<string name="key_ac10_main">i</string>
<string name="key_ac10_shift"></string>
<string name="key_ac10_alt">@string/alternates_for_i</string>

<string name="key_ac11_main">\'</string>
<string name="key_ac11_shift">\"</string>
<string name="key_ac11_alt">\'\"‘’“”</string>


<string name="key_lsgt_main"></string>
<string name="key_lsgt_shift"></string>
<string name="key_lsgt_alt"></string>

<string name="key_ab01_main">z</string>
<string name="key_ab01_shift"></string>
<string name="key_ab01_alt">@string/alternates_for_z</string>

<string name="key_ab02_main">x</string>
<string name="key_ab02_shift"></string>
<string name="key_ab02_alt">@string/alternates_for_x</string>

<string name="key_ab03_main">m</string>
<string name="key_ab03_shift"></string>
<string name="key_ab03_alt">@string/alternates_for_m</string>

<string name="key_ab04_main">c</string>
<string name="key_ab04_shift"></string>
<string name="key_ab04_alt">@string/alternates_for_c</string>

<string name="key_ab05_main">v</string>
<string name="key_ab05_shift"></string>
<string name="key_ab05_alt">@string/alternates_for_v</string>

<string name="key_ab06_main">k</string>
<string name="key_ab06_shift"></string>
<string name="key_ab06_alt">@string/alternates_for_k</string>

<string name="key_ab07_main">l</string>
<string name="key_ab07_shift"></string>
<string name="key_ab07_alt">@string/alternates_for_l</string>

<string name="key_ab08_main">,</string>
<string name="key_ab08_shift">&lt;</string>
<string name="key_ab08_alt">,&lt;≤«‹</string>

<string name="key_ab09_main">.</string>
<string name="key_ab09_shift">&gt;</string>
<string name="key_ab09_alt">.&gt;≥»›…</string>

<string name="key_ab10_main">/</string>
<string name="key_ab10_shift">\?</string>
<string name="key_ab10_alt">/\?¿</string>

<string name="key_space_shift"></string>
</resources>
Loading