Skip to content

Keyboard for the control center and the notification center - #93

Merged
henrikklee merged 4 commits into
mainfrom
control-center-keyboard
Nov 21, 2026
Merged

henrikklee merged 4 commits into
mainfrom
control-center-keyboard

Conversation

@henrikklee

Copy link
Copy Markdown
Contributor

Both centers can be used fully from the keyboard (Super+Ctrl+1 and Super+Ctrl+2 open them).

Control center

  • The focused cell has a clear ring just outside it; before, focus was the cell's border turning accent, invisible on a lit tile.
  • Arrows move by position, Tab in reading order; the first key starts top left.
  • Enter opens a cell's page where it has one (Wi-Fi, Bluetooth, sliders, battery), Space switches it. Right only moves.
  • A disabled cell with a page (Bluetooth without an adapter, volume without a device) can be reached and opened; its page says why.
  • Switching a toggle keeps the focus on it (the toggles are rebuilt on every state change).

Notification center

  • Up/Down move from the header to each card (an open stack's cards each count), Left/Right along a row: Focus ↔ Clear all, a card → its buttons → its reply field.
  • Enter opens, presses or starts a reply; Space opens or closes a stack; Delete clears a card; the list scrolls to keep focus in view.

Tested in the simulator (iPad portrait). Not tried: the phone, the battery row (no battery in the simulator).

Known, not from this PR: pressing a notification's button (tap or key) does not reach a waiting notify-send; to be looked at separately.

The keyboard's place was the cell's border turning accent: invisible on a lit
tile (the accent itself) and faint on the brightness slider. It is now a ring
just outside the cell. The first key starts top left and Tab walks rows left
to right, as the cells sit, not in the order they were made.

Assisted-by: LLM
Enter opens the page of a cell that has one (the Wi-Fi and Bluetooth tiles,
the sliders, the battery line); Space switches it. A cell that can't be used
is no longer skipped when it has a page, which says why (no adapter, no
device): a finger reaches it with a long press, the keyboard with Enter.

Assisted-by: LLM
Enter opens a page now; Right opening one on a tile with a chevron made the
arrow mean two things.

Assisted-by: LLM
…on center rows and columns

A switch rebuilds the toggles, and the focus pointed at a cell that was gone.
It is now the cell's name, which the new cell has too.

The notification center walks rows (the header, then each card, an open
stack's all) with Up and Down, and along a row with Left and Right: Focus and
Clear all, a card, then its buttons and its reply field. Enter opens or
presses, Space opens or closes a stack, Delete clears a card. The place is a
ring as in the control center, and stays in sight as the list scrolls.

Assisted-by: LLM
@henrikklee
henrikklee merged commit e328a38 into main Nov 21, 2026
9 checks passed
@henrikklee
henrikklee deleted the control-center-keyboard branch November 21, 2026 15:09
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.

1 participant