Skip to content

Key shortcuts: one gesture picker for all actions, incl. long-press wheel — v2.5.6 - #70

Merged
KEZO555 merged 2 commits into
mainfrom
claude/light-keyboard-project-ZsCx2
Jul 21, 2026
Merged

Key shortcuts: one gesture picker for all actions, incl. long-press wheel — v2.5.6#70
KEZO555 merged 2 commits into
mainfrom
claude/light-keyboard-project-ZsCx2

Conversation

@KEZO555

@KEZO555 KEZO555 commented Jul 21, 2026

Copy link
Copy Markdown
Owner

What you asked for

All three key-shortcut actions — Colour toggle, Recent apps, Go back — should share one clean list of hardware gestures:

  • Off
  • Long-press wheel
  • Volume up + down
  • Long-press camera (active inside apps only, not on the LightOS home screen)

Change

  • Back is now a first-class action (was wheel-long-press only) — assignable like the others.
  • Long-press wheel is now a real gesture (COLOR_KEYMAP_WHEEL_LONG) any action can use — so Recents (or anything) can live on the wheel, not just Back.
  • Dropped the double-volume gestures and the standalone "wheel long-press goes back" toggle; the old toggle migrates once into the Back keymap so existing setups keep working.
  • Each settings row cycles a value-indexed list, so display order is independent of the stored ints (kept stable — no scrambling of existing bindings).
  • Shared-gesture precedence stays colour → recents → back (so don't put two actions on one gesture).

Your config after this

In Key shortcuts & more: set Recent apps → Long-press camera and Go back → Volume up + down (or → Long-press wheel — now available for any action).

Version → 2.5.6. Holding merge until CI confirms the build (Android service/UI change I can't compile standalone).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Unbc3zuLA7kfCnaBL4pCHF

claude added 2 commits July 21, 2026 16:43
Back could only be triggered by wheel long-press. Add a "Back keymap" alongside
the colour and recents keymaps, so the system Back action can be bound to any
hardware gesture (camera long-press / volume up+down / double volume up / double
volume down). Lets you set e.g. Recents = camera long-press and Back = volume
up + down. Mirrors recentsKeymap end to end: a Prefs slot, inclusion in the
service's key handling (early-out, camera binding, fireGesture → GLOBAL_ACTION_
BACK), and a cycle row in the shortcuts settings. When a gesture is shared,
precedence is colour, then recents, then back. The wheel-long-press-back toggle
is unchanged (a separate trigger).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Unbc3zuLA7kfCnaBL4pCHF
…ess wheel

Give Colour toggle / Recent apps / Go back the same set of hardware gestures:
Off, long-press wheel, volume up+down, long-press camera. Adds long-press wheel
as a real gesture (COLOR_KEYMAP_WHEEL_LONG) any action can use — so recents (or
anything) can live on the wheel, not just Back. Drops the double-volume gestures
and the standalone "wheel long-press goes back" toggle; the latter migrates once
into the Back keymap. The settings rows now cycle a value-indexed list so display
order is independent of the stored ints (kept stable). Camera/volume/wheel are
still only active inside apps, never on the LightOS home screen.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Unbc3zuLA7kfCnaBL4pCHF
@KEZO555 KEZO555 changed the title Key shortcuts: make Back assignable to any gesture — v2.5.6 Key shortcuts: one gesture picker for all actions, incl. long-press wheel — v2.5.6 Jul 21, 2026
@KEZO555
KEZO555 merged commit 501369a into main Jul 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants