From 8c290732607692cd94247f7e3e9c80fad1dfe516 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 11 Feb 2024 20:46:36 +0100 Subject: Compose key The COMPOSE_PENDING modifier indicate whether a compose sequence is in progress. The new key of kind Compose_pending sets the current state of the sequence. The compose sequences are compiled into a state machine by a python script into a compact encoding. The state of the pending compose is determined by the index of a state. --- 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 2a6025b..e25cd34 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -440,6 +440,11 @@ public class Keyboard2 extends InputMethodService _keyboardView.set_shift_state(state, lock); } + public void set_compose_pending(boolean pending) + { + _keyboardView.set_compose_pending(pending); + } + public InputConnection getCurrentInputConnection() { return Keyboard2.this.getCurrentInputConnection(); -- cgit v1.2.3