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/ComposeKeyData.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcs/juloo.keyboard2/ComposeKeyData.java (limited to 'srcs/juloo.keyboard2/ComposeKeyData.java') diff --git a/srcs/juloo.keyboard2/ComposeKeyData.java b/srcs/juloo.keyboard2/ComposeKeyData.java new file mode 100644 index 0000000..b73db60 --- /dev/null +++ b/srcs/juloo.keyboard2/ComposeKeyData.java @@ -0,0 +1,14 @@ +package juloo.keyboard2; + +/** This file is generated, see [srcs/compose/compile.py]. */ + +public final class ComposeKeyData +{ + public static final char[] states = { + 0, '=', '`', 0, 'e', '€', 0, 'a', 'e', 'u', 'à', 'è', 'ù' + }; + + public static final short[] edges = { + 3, 3, 6, 2, 5, 1, 4, 10, 11, 12, 1, 1, 1 + }; +} -- cgit v1.2.3