Skip to content

Gestures

BiBi Keyboard provides rich gesture interactions to control input, edit text, and manage content efficiently.

Backspace gestures

Backspace supports multiple modes: single-char delete, continuous delete, clear all, and undo.

Basic

GestureActionNotes
Tapdelete one charstandard backspace
Long-presscontinuous deletedeletes repeatedly at the system key-repeat rate
Swipe upclear all textdeletes all content in the editor
Swipe leftclear all textsame as swipe up
Swipe downundoundo last change (up to 3 steps)
Swipe down after clearingrestore cleared textafter clearing, keep holding and swipe down to restore the text from before the clear

Avoiding false triggers

To reduce accidental actions:

  1. Long-press priority: continuous delete starts after the system long-press duration
  2. Distance threshold: a movement must exceed the system touch-slop threshold to count as a swipe
  3. Direction clarity: the swipe direction must clearly dominate

Tips

Quickly clear wrong input

Hold backspace → swipe up → release

Undo a mistake

Hold backspace → swipe up to clear → keep holding and swipe down → release

This restores the text from before the clear. You can also hold backspace again and swipe down to undo the last change.

Typical flow

Voice input → [AI done] → backspace swipe down (undo) → voice input again

Global undo

Besides backspace gestures, the customizable action row can include a global Undo button to undo various text changes.

What can be undone

Action typeUndoableResult after undo
Voice recognition commitremoves transcript
AI post-processing editrestores raw transcript
Manual typingremoves typed text
Character deletionrestores deleted content
Pasteremoves pasted content
AI Editrestores previous text
Clear allrestores cleared content

Undo stack

BiBi Keyboard uses a stack:

[Latest] → Op3 → Op2 → Op1 → [Oldest]
           ↑undo  ↑undo  ↑undo
  • Capacity: up to 3 states
  • When full, the oldest entry is dropped

Other gestures

Microphone button gestures

Press-and-hold (default)

  • Hold: start recording
  • Release: stop recording
  • Swipe left: cancel
  • Swipe right: send/commit immediately
  • Swipe down: lock recording (no need to keep holding)

Tap-to-toggle

  • Tap: start/stop recording
  • Long-press: cancel
  • Swipe left: cancel
  • Swipe right: send/commit immediately

More details

See Recording Modes.

Cursor Glide Mode Pro

When enabled: swipe up on the Space key to arm the mode, then slide on the mic button to move the cursor precisely. Left/right works in any text field; up/down requires a multi-line editor. When disabled, the keyboard's normal cursor controls are used.

Floating ball gestures

Basic

  • Tap: start recording
  • Long-press then drag toward center: open radial menu
  • Long-press ~2s then drag: move position; release to snap to edge

More details

See Floating Ball.

Released under the Apache 2.0 License.