mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-18 23:20:54 +00:00
add timestamp keycode and setting for adjusting format, fixes GH-846
This commit is contained in:
parent
525c4e59b6
commit
8932fc84e1
11 changed files with 90 additions and 24 deletions
|
@ -54,6 +54,7 @@ import helium314.keyboard.latin.utils.RecapitalizeStatus;
|
|||
import helium314.keyboard.latin.utils.ScriptUtils;
|
||||
import helium314.keyboard.latin.utils.StatsUtils;
|
||||
import helium314.keyboard.latin.utils.TextRange;
|
||||
import helium314.keyboard.latin.utils.TimestampKt;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Locale;
|
||||
|
@ -775,6 +776,9 @@ public final class InputLogic {
|
|||
case KeyCode.SPLIT_LAYOUT:
|
||||
KeyboardSwitcher.getInstance().toggleSplitKeyboardMode();
|
||||
break;
|
||||
case KeyCode.TIMESTAMP:
|
||||
mLatinIME.onTextInput(TimestampKt.getTimestamp(mLatinIME));
|
||||
break;
|
||||
case KeyCode.VOICE_INPUT:
|
||||
// switching to shortcut IME, shift state, keyboard,... is handled by LatinIME,
|
||||
// {@link KeyboardSwitcher#onEvent(Event)}, or {@link #onPressKey(int,int,boolean)} and {@link #onReleaseKey(int,boolean)}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue