forked from extern/Unexpected-Keyboard
Add combinations to 'accent_slash' and show in settings
The 'accent_slash' was missing in the extra keys setting. Allow to type more latin letters "with oblique stroke" or "with stroke" that visually have an oblique bar, that were not added to 'accent_bar'.
This commit is contained in:
parent
1e067c9863
commit
6a7fbf5e50
@ -27,6 +27,7 @@
|
||||
<juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="18"/>
|
||||
<juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="19"/>
|
||||
<juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="20"/>
|
||||
<juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="21"/>
|
||||
</PreferenceScreen>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/pref_category_typing">
|
||||
|
@ -29,6 +29,7 @@ public class ExtraKeyCheckBoxPreference extends CheckBoxPreference
|
||||
"accent_macron",
|
||||
"accent_ogonek",
|
||||
"accent_breve",
|
||||
"accent_slash",
|
||||
"accent_bar",
|
||||
"€",
|
||||
"ß",
|
||||
|
@ -509,13 +509,17 @@ class KeyModifier
|
||||
switch (c)
|
||||
{
|
||||
case 'a': return 'ⱥ';
|
||||
case 'b': return '␢';
|
||||
case 'c': return 'ȼ';
|
||||
case 'e': return 'ɇ';
|
||||
case 'g': return 'ꞡ';
|
||||
case 'k': return 'ꝃ';
|
||||
case 'l': return 'ł';
|
||||
case 'n': return 'ꞥ';
|
||||
case 'o': return 'ø';
|
||||
case ' ': return '/';
|
||||
case 'r': return 'ꞧ';
|
||||
case 's': return 'ꞩ';
|
||||
case 't': return 'ⱦ';
|
||||
default: return c;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user