From d5836ebb972949a65dd34eec9530cef321c85a81 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 9 Jul 2022 17:30:26 +0200 Subject: 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. --- srcs/juloo.keyboard2/Keyboard2.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'srcs/juloo.keyboard2/Keyboard2.java') 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) -- cgit v1.2.3