17 Commits
Author SHA1 Message Date
harley 15f93cade1 Fix voice typing on Android 16: detect standalone voice IMEs
Google Voice Typing on Android 16+ is a standalone IME with zero
subtypes, so the old code (scanning subtypes for mode='voice')
never found it. Also detect IMEs with getSubtypeCount()==0 and
handle null subtype in switchInputMethod() and get_display_name().
2026-07-08 01:45:35 -04:00
harley 345f3cdbd6 Clean up build artifacts from git 2026-07-07 15:03:56 -04:00
harley 7aaebb5bfd Wire swipe typing lifecycle into Keyboard2
- Initialize MornKeyboardSwipeAdapter on Keyboard2.onCreate()
- Load en_US.gilde dictionary from res/raw/
- Create SwipeInputHandler and wire to Keyboard2View in create_keyboard_view()
- Add MornSwipeReceiver that commits top candidate via InputConnection
- Call notifySwipeLayoutChanged() on layout changes
- Clean up on onDestroy()
- Full debug build verified (82 tasks)
2026-07-07 15:03:47 -04:00
harley e17b7db68a Add .gitignore, remove build artifacts 2026-07-07 15:01:42 -04:00
harley 9bdfaa56e6 Package rename to juloo.mornkeyboard2 + import libswipetype 2026-07-07 15:01:37 -04:00
harley eb9a5103c2 Increase key spacing margins: horizontal 13, vertical 6 2026-07-07 06:12:12 -04:00
harley f59603c90b Full layout overhaul: Fn grid, bottom row reorg, symbol moves, dictionary, compose relocation 2026-07-07 05:59:17 -04:00
harley 4534df8bcb Layout: compose on pg key, keyboard height 0.81, smaller sublabels 2026-07-07 04:50:38 -04:00
harley ecdb43a593 Layout: compose on pg key, keyboard height 0.81, smaller sublabels 2026-07-07 04:50:29 -04:00
harley 939e8da252 Save state before swipe engine work 2026-07-07 02:59:52 -04:00
harley e2d5b47c7c Layout overhaul: symbol moves, bottom row reorg, Tux meta key
- '!' moved to bottom-left of '1' (q sw), removed from e ne
- Dash on o sw, underscore on o se
- ':' on l sw (replaced backslash)
- Bottom row: Ctrl | Alt | Space | Fn | Enter
- Fn moved right of space bar, corner swipes cleaned up
- Voice typing moved from Enter to Fn bottom-left (key6)
- Clipboard on Ctrl bottom-left (key6)
- New 'tux' key: META modifier displayed as Tux penguin (0xE002)
  from special_font/002.svg, toggleable (latch+double-tap lock)
- Enter only has action corner (key2), no voice typing
- Config (settings) kept on Fn up-swipe (key1)
2026-07-07 02:18:32 -04:00
harley 96966332ce Bump long-press timeout 600→700ms 2026-07-07 02:08:47 -04:00
harley b034191a1c Move numbers to left side of top row, restore shift next to Z, add config to Fn
- Top row numbers moved from ne (top-right) to nw (top-left) per request
- Existing nw symbols (tilde, !) shifted to ne positions
- Shift restored in z-row (normal key width)
- Backspace now normal key width (no more 1.5x)
- Fn key now has corner swipes: config, change_method, emoji, switch_numeric
- Bottom row: Fn | Ctrl | Alt | Space | Enter
2026-07-07 02:02:35 -04:00
harley b86481461a Rewrite joypad as direction-lock + auto-repeat
- Joypad no longer uses displacement-accumulation (useless on space bar).
- After long-press space bar, determine direction from finger offset vs origin.
- Direction locks, fires one cursor event, then auto-repeats at
  longPressInterval rate via _longpress_handler.
- Changing finger direction updates the lock (fires in new dir immediately).
- Returning finger to dead zone stops auto-repeat.
- Removed SPEED_VERTICAL_MULT and startup threshold:space bar has no room.
- Space bar icon changed to 0xE001 (4-directional arrows).
2026-07-07 01:55:34 -04:00
harley 5fbd21c7d9 Move joypad to space bar long-press, remove separate joystick key
- Space bar long-press now activates Joypad cursor mode
  (long-press detected in handleLongPress before key-repeat)
- Removed separate cursor_joystick key from bottom row
- Widened space bar (4.2 → 6.0) to compensate
- Bottom row: Shift | Fn | Ctrl | Alt | Space (joypad on long-press) | Enter
2026-07-07 01:49:56 -04:00
harley b6618444a2 Fix: remove shift from z-row, rebuild special font with joystick icon
- Removed redundant shift key from latn_qwerty_us.xml third row
  (shift is now on the bottom row only)
- Rebuilt assets/special_font.ttf to include 001.svg (4-directional
  joystick icon at codepoint 0xE001)
2026-07-07 01:45:14 -04:00
harley 4a05bf54d5 Add 2D joypad cursor slider + custom bottom row layout 2026-07-07 01:38:43 -04:00