abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Keyboard2.java
diff options
context:
space:
mode:
authorJules Aguillon2022-07-09 17:30:26 +0200
committerJules Aguillon2022-07-09 17:30:26 +0200
commitd5836ebb972949a65dd34eec9530cef321c85a81 (patch)
treefe0fac84df05824f26f1ca1cd26b5a3c2fea3e1b /srcs/juloo.keyboard2/Keyboard2.java
parentdb8ebc2f4d2739fbf7dffe51a39d1e31c1574fdf (diff)
downloadunexpected-keyboard-d5836ebb972949a65dd34eec9530cef321c85a81.tar.gz
unexpected-keyboard-d5836ebb972949a65dd34eec9530cef321c85a81.zip
Add key for switching to the greekmath pane
The key is placed on the 3rd row of the numeric pane, by taking some space from the shift key.
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2.java')
-rw-r--r--srcs/juloo.keyboard2/Keyboard2.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java
index 2a54111..8483a50 100644
--- a/srcs/juloo.keyboard2/Keyboard2.java
+++ b/srcs/juloo.keyboard2/Keyboard2.java
@@ -290,6 +290,11 @@ public class Keyboard2 extends InputMethodService
_keyboardView.setKeyboard(getLayout(R.xml.numeric));
}
+ public void switchGreekmath()
+ {
+ _keyboardView.setKeyboard(getLayout(R.xml.greekmath));
+ }
+
public void switchProgramming()
{
if (_config.programming_layout == -1)