Skip to content

Commit 8cfe7f1

Browse files
committed
docs: document direct switch IME and custom layouts in README and FEATURES.md
1 parent 974503b commit 8cfe7f1

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
- **🚫 Blocked Words Blacklist** - Prevent unwanted words from being suggested, with custom regex pattern support and a blacklist management screen.
3333
- **✉️ Auto-Read OTP** - Automatically reads OTP codes from SMS notifications for quick and easy suggestion strip entry.
3434
- **💾 Selective Backup & Restore** - Backup and restore settings, dictionaries, and AI prompt configurations selectively.
35+
- **[⌨️ Direct Switch IME](docs/FEATURES.md#10-direct-switch-target-ime)** - Map custom keycode (`-10076`) to any toolbar key to switch directly to another input method.
36+
- **[🎨 Custom Layouts](docs/FEATURES.md#11-custom-layouts-customization)** - Save up to five custom layout profiles with persistent slot index tracking.
3537
- **🔒 Privacy Choices** - Choose **Standard** (Opt-in AI, Handwriting), **Offline** (Hard-disabled network, offline GGUF model load), or **Offline Lite** (Minimalist, no AI) versions.
3638
- **🎨 Modern UI** - "Squircle" key backgrounds, refined icons, and polished aesthetics.
3739
- **🕵️ Clear Incognito Mode** - Distinct "Hat & Glasses" icon for clear visibility.

docs/FEATURES.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ LeanType integrates with AI providers to offer advanced proofreading and transla
1717
| 🖱️ **[Touchpad Mode](#7-touchpad-mode)** | Full-screen touchpad gestures and controls. |
1818
| ✍️ **[Handwriting Input](#8-handwriting-input)** | Use handwriting recognition to draw letters directly on a canvas. |
1919
| 👆 **[Built-in Gesture Typing](#9-built-in-gesture-typing)** | Use gesture typing without downloading native libraries. |
20+
| ⌨️ **[Direct Switch Target IME](#10-direct-switch-target-ime)** | Switch directly to another input method using custom keycode `-10076`. |
21+
| 🎨 **[Custom Layouts Customization](#11-custom-layouts-customization)** | Persistent custom layout profiles and management. |
2022

2123
## Summary of New Features
2224

@@ -42,6 +44,8 @@ LeanType integrates with AI providers to offer advanced proofreading and transla
4244
| **Text Expander** | Expand custom shortcuts using dynamic template variables (date, time, clipboard, custom placeholders). | `Text correction > Text Expander` |
4345
| **Handwriting Input** | Draw letters or words directly on the screen keyboard space to type (standard variant, requires plugin). | `Libraries > Handwriting Input Plugin` |
4446
| **Built-in Gesture Typing** | Gesture typing works out of the box using our new built-in pure-Java fallback engine, removing the strict dependency on native Google libraries. | `Gesture typing` |
47+
| **Direct Switch Target IME** | Direct input method switching using custom keycode `-10076` assigned to toolbar keys. | `Preferences > Direct Switch Target IME` |
48+
| **Custom Layouts** | Supports up to 5 custom layouts with persistent layout index tracking. | `Languages > Custom layouts` |
4549

4650
---
4751

@@ -388,4 +392,29 @@ LeanType integrates a handwriting recognition canvas that allows you to write ch
388392
2. Toggle **Use fallback gesture engine** to select between the pure-Java engine and the native library.
389393
3. Self-learning can be toggled via **Enable gesture self-learning**.
390394

395+
---
396+
397+
## 10. Direct Switch Target IME
398+
399+
* **Functionality**: Switch directly to another configured input method (and subtype) instead of opening the system input method picker.
400+
* **Behavior**:
401+
* Map the custom keycode `-10076` (`SWITCH_TO_USER_IME`) to any toolbar key (supports click or long-press).
402+
* Tapping/long-pressing the key immediately switches input methods.
403+
* **How to Setup**:
404+
1. Go to **Settings > Preferences**.
405+
2. Tap **Direct Switch Target IME** and select the target keyboard/subtype from the list of enabled inputs.
406+
3. Go to **Settings > Toolbar > Customize toolbar key codes** to map `-10076` to a toolbar key.
407+
408+
---
409+
410+
## 11. Custom Layouts Customization
411+
412+
* **Functionality**: Save up to five custom layout profiles with persistent active slot tracking.
413+
* **Behavior**:
414+
* The active custom layout slot index is preserved across orientation changes and switching between alphabet and symbol states.
415+
* Unused custom layout profiles can be directly deleted from settings.
416+
* **How to Setup**:
417+
1. Go to **Settings > Languages > Custom layouts**.
418+
2. Manage custom layouts and slots as needed.
419+
391420

0 commit comments

Comments
 (0)