zmk/app
Joel Spadin 92e95d44cf feat(ble): Add passkey display/confirm support
Added support for passkey display and passkey confirmation when
pairing. Passkey display is enabled automatically when a display is
enabled. Passkey confirm can be manually enabled if the keyboard has an
Enter key.

Updated the passkey entry code to require all 6 digits have been entered
before confirming and to support backspace to remove a digit.

Added a pairing screen for displays and refactored the display code to
allow for switching between multiple screens. The screens are now
initialized immediately instead of on the display work queue, because
widgets will read state from other files when they are initialized, and
this can only be done safely from the system queue. Blank on idle and
theme initialization are pulled out to separate files to simplify the
main file.

The pairing screen supports all three passkey modes:

- Passkey display just shows the passkey.

- Passkey confirm shows the passkey and an icon indicating that you
  must press Enter to confirm.

- Passkey entry shows the current passkey entry state and shows an icon
  indicating that you must press Enter to confirm once all 6 digits
  have been entered. (If passkey display or confirm are supported, it
  seems that Windows will always choose those over passkey entry, but
  the pairing screen still supports this in case other OSes work
  differently.)

Added configs for normal and large font sizes. The large font is used
for the passkey on the pairing screen on larger displays.
CONFIG_LV_FONT_DEFAULT is no longer used for the normal font size,
because setting a default value for it in display/Kconfig prevented
display shields from picking a more appropriate default.
2023-11-05 18:34:25 -06:00
..
boards feat(ble): Add passkey display/confirm support 2023-11-05 18:34:25 -06:00
cmake refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
dts refactor(behaviors): Final global-quick-tap deprecation. 2023-10-03 01:12:47 -07:00
include feat(ble): Add passkey display/confirm support 2023-11-05 18:34:25 -06:00
module fix(driver): Fix broken compilation for MAX7318 driver 2023-09-28 12:19:14 -04:00
scripts chore: make west scripts more pythonic and apply Black 2022-01-04 23:59:25 -05:00
src feat(ble): Add passkey display/confirm support 2023-11-05 18:34:25 -06:00
tests refactor(behaviors): Final global-quick-tap deprecation. 2023-10-03 01:12:47 -07:00
.gitignore feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
.prettierrc.js refactor: Add more checks to pre-commit 2023-04-24 16:07:04 -07:00
CMakeLists.txt feat(ble): Add passkey display/confirm support 2023-11-05 18:34:25 -06:00
core-coverage.yml refactor: Add more checks to pre-commit 2023-04-24 16:07:04 -07:00
Kconfig feat(ble): Add passkey display/confirm support 2023-11-05 18:34:25 -06:00
Kconfig.behaviors feat(behaviors): Support parameterized macros. 2023-06-20 11:19:28 -06:00
package-lock.json chore: Update Prettier 2023-04-24 16:07:04 -07:00
package.json chore: Update Prettier 2023-04-24 16:07:04 -07:00
prj.conf Removed development files 2020-08-29 11:53:53 -07:00
run-test.sh refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
west.yml refactor: Move to Zephyr 3.2 branch. 2023-04-05 22:55:38 -07:00