Commit Graph
630 Commits
Author SHA1 Message Date
James Babcock e09f8eae96 Simplify glanceboard-trigger angle setting; fix incorrectly-rotated accelerometer readings on G1
The glanceboard head-tilt option was more complicated than necessary,
because it wanted the user to take two angle measurements, a baseline
angle and a tilt angle. That was a workaround to not knowing the
accelerometer's orientation/calibration, but actually, we do know those.

(Except, as it turns out, on the G1, the accelerometer orientation is
different than it is on the G2, and there was a bug where EvenHub apps
got their accelerometer readings in the wrong orientation. So for
example the EvenHub Level app didn't work correctly.)
2026-11-15 23:29:02 -08:00
James Babcock 37d81d0308 Merge branch 'main' into glanceboard-tilt-angle-and-glance-down 2026-11-15 22:38:39 -08:00
James Babcock 344e140e92 Configurable custom keybindings for bluetooth keyboards paired with the glasses 2026-11-15 22:21:12 -08:00
James Babcock fd3c26333f Add bluetooth keyboard support
G2 only: You can pair the glasses with a bluetooth keyboard. It will
relay key events, and you can use it to type in some apps and to
navigate the UI.
2026-11-15 01:54:54 -08:00
James Babcock 9372b2742c Multi-mic support and replay mode for Transcribe app 2026-11-12 21:54:57 -08:00
James Babcock c162c8e633 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-11-12 12:20:29 -08:00
James Babcock cd61fefb21 Phone UI: Settings are a page instead of a tab, watch vs ring style input is a setting rather than a tab, EvenHub webview is a button with the main buttons rather than in the top bar 2026-11-12 12:16:33 -08:00
James Babcock 30de2c4dd7 Move recording setting from Developer menu to Transcribe app; add prominent indicator 2026-11-11 15:55:52 -08:00
James Babcock a02b849200 Borderless modes have different padding inside the builtin apps
Most of the builtin apps had some padding between the window edge and
their content, because they expect to be displayed with a line border on
their edge. We added a customization option to remove the border, so,
that padding is not always necessary. Make the layouts dynamically
adjust, to omit the padding when it isn't needed.
2026-11-11 15:19:29 -08:00
James Babcock e158452ba4 Adjust styling/position of app-switcher when there's no rounded-corner border 2026-11-10 18:15:08 -08:00
James Babcock c6ce79ab70 Add Border option to Settings>Customization 2026-11-09 18:54:23 -08:00
James Babcock 8b70585da8 Metadata updates for Play Store distribution 2026-11-09 12:08:37 -08:00
James Babcock 5e3f58764c 0.9.0 2026-11-08 01:08:55 -08:00
James Babcock bf66c5a53c Clean up redundant messages on the Pair Glasses page 2026-11-08 01:05:51 -08:00
James Babcock fa663804de Hide RayNeo iO from device selection screen (support is not ready to ship yet) 2026-11-08 01:00:51 -08:00
James Babcock 479308f4a6 Firmware uninstall/revert-to-stock for G1s 2026-11-08 00:11:13 -08:00
James Babcock e103b89510 Battery indicators and other places no longer say "G2" when a G1 or iO is paired 2026-11-07 22:56:31 -08:00
James Babcock ac68ba5991 Onboarding fixes: Stuck state on the Permissions page, some dark-on-dark text in dark mode 2026-11-07 22:54:48 -08:00
James Babcock b866224909 Don't show EvenHub store, and show compatibility warning on sideloaded apps, when using RayNeo iO 2026-11-07 22:53:28 -08:00
James Babcock 43738b181d Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-11-07 22:29:39 -08:00
James Babcock 10a9c85f27 EvenHub compativility fixes: Z-order changes, different text color distribution, text containers scroll 2026-11-07 22:28:49 -08:00
James Babcock 448a057d2d Add option to auto-dismiss notifications after a timer 2026-11-07 21:06:16 -08:00
James Babcock c713815694 EvenHub: Fix an issue where indentation was incorrectly dropped in text containers
This caused text to overlap with icons in Iris Pro and Ocuclaw
2026-11-07 20:57:55 -08:00
James Babcock 9ba5c1988d Add longer timeout options for glanceboard show-on-tap display 2026-11-07 20:37:41 -08:00
James Babcock 3a0908fde2 EvenHub UI improvements
Handle left/right swipes on the tab bar, not just up/down
Update All button on the Updates page main list
Scroll by pages rather than lines on the permissions list
2026-11-07 20:31:31 -08:00
James Babcock 9b30105996 Less redundant Testflight privacy policy messages in onboarding 2026-11-07 14:01:19 -08:00
James Babcock 8591fb5039 Onboarding devices page: Neutral defaults 2026-11-07 13:55:31 -08:00
James Babcock 41ef3b88a0 Add choose-your-devices page to start of the onboarding flow 2026-11-07 13:42:39 -08:00
James Babcock b353483ac2 G1 support: Preserve connections after flashing, debug 2026-11-07 04:16:15 -08:00
James Babcock 595b462b2e Merge branch 'main' of https://github.com/jimrandomh/faceclaw into g1-support 2026-11-06 23:33:38 -08:00
James Babcock e1a3e80b3d Terminal: Terminals now default to opening in the same rather than a new window 2026-11-06 23:24:39 -08:00
James Babcock 32fa5c0e6e Fix issue that caused broken Nightscout widget on the status bar on iOS 2026-11-06 23:03:09 -08:00
James Babcock 6e4515afa5 Add ANCS support to G1 2026-11-06 21:47:23 -08:00
James Babcock 0cc263c5d2 Don't show the Compass app on hardware (ie G1s) that can't support it 2026-11-06 15:13:46 -08:00
James Babcock 38c52ebc31 G1 support: Flashing within the Android app 2026-11-06 12:55:24 -08:00
BrendenandClaude Opus 5.5 58626ce146 Glanceboard: Head tilt timeout setting
How long a head-tilt showing may last when no head-down arrives: 60 s
(the default, as before), 30, 15, 10 s, or never (it then stays until the
head comes down or a double-tap). Where the head-down is unlikely, the tap
duration still applies when it is shorter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 12:47:46 -08:00
BrendenandClaude Opus 5.5 b1ca8b8ca1 Glanceboard: address review of head-tilt angle and glance down
- A verification read that still disagrees no longer requeues the writes at
  once (which looped while the firmware refused the value); the next regular
  poll retries.
- "Glasses default" now writes back the glasses' own switch and angle, saved
  before Faceclaw first changed them (persisted across app restarts), and
  drops writes still queued. Disabling the Glanceboard does the same.
- "Set to current head angle" takes two readings, head level then tilted up,
  and uses the angle between them, so it no longer depends on the sensor's
  axes or folds past 45°. A head that did not move is reported, not stored
  as 5°. The math is in head-tilt-math.ts, with tests.
- A head-tilt that woke a suspended session, or a trigger under 25° (where a
  level gaze stays above the head-down threshold), hides after the tap
  duration instead of the 60 s cap. The setting's description explains it.
- The angle rows are hidden on iOS, which cannot change the setting.
- The capture row repaints while measuring, ignores repeat selects, and its
  status clears when the menu reopens or the angle changes; the angle is
  sent once, by the controller's settings listener.
- Comments describing a head-tilt as a timed press are updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 12:20:19 -08:00
BrendenandClaude Opus 5.5 cf74f34767 Glanceboard: configurable head-tilt angle, glance down to hide
- Head tilt angle setting (Glanceboard): sets the glasses' own head-up
  trigger through the stock settings message (g2_setting.proto
  DeviceReceiveInfoFromAPP.deviceReceiveHeadUpSetting), so detection stays
  on the glasses and nothing streams while the screen is off. The stored
  calibration is read back and compensated for, and the value is
  re-applied on every connect. "glasses" (the default) leaves the
  glasses' setting untouched.
- "Set to current head angle" measures the tilt from a ~1.2 s IMU burst
  and rounds it to the nearest 5 degrees.
- Glance down to hide: a head-tilt showing now stays up until the head comes back down
  (HEAD_DOWN, forwarded by Faceclaw/38) instead of a fixed timeout, with
  a 60 s safety cap. HEAD_DOWN goes only to the Glanceboard on Android
  and iOS, so it never counts as shell activity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 08:58:33 -08:00
James Babcock 345ba36c33 G1: Microphone, light sensor, accelerometer, bandwidth benchmark, wear detection 2026-11-06 01:44:37 -08:00
James Babcock 67aff19923 Faceclaw support for G1s
Relies on the glasses having the firmware from
https://github.com/jimrandomh/scouter_kit, based on Mafik's Scouter Kit.
2026-11-06 00:12:23 -08:00
James Babcock f803f4212c Brightness control 2026-11-05 11:18:17 -08:00
James Babcock 739e81c8a6 Merge branch 'main' into rayneo-io-support 2026-11-04 03:11:15 -08:00
James Babcock 6df52021c8 Apple Watch: Sound-effects and vibrate settings, build scripts 2026-11-04 03:04:43 -08:00
James Babcock 2696f3b76c Add an Apple Watch app that can control the glasses 2026-11-04 02:20:26 -08:00
James Babcock b2b6c5c8d8 Merge branch 'main' into rayneo-io-support 2026-11-03 14:06:19 -08:00
James Babcock c896ce9ac8 Merge branch 'case-battery-ui' 2026-11-02 00:31:41 -08:00
James Babcock 27756913d0 Show G2 charging case on Settings tab and charging view rather than main activity 2026-11-02 00:30:21 -08:00
Om Alve bdf4fc2f1d Correct how the app ends up with no Activity
The previous commit's comment and test said Android starts the app in the
background (a home-widget update, a notification-listener rebind) with
the glasses session running. A background start alone doesn't connect
the glasses; only the main page does. The state that breaks voice is
the Activity being destroyed afterwards: swiping the app away in Recents
destroys it while the foreground service keeps the process and session
running, and NativeScript then clears both foregroundActivity and
startActivity. On Android 12+ Back on the main page only moves the task
to the back, so the Activity survives it. Comment and test wording only.
2026-11-02 13:28:21 +05:30
Om Alve 9fac7a29ba Voice: don't need an Activity to check already-granted permissions
ensurePermissions looked up the Activity before checking whether any
permission was missing, and getActivity() throws when there is none.
Android starts the app in the background with no Activity (a home-widget
update, a notification-listener rebind), and the glasses session runs
from there until the app is opened. So in that state every "Hey Even"
failed in ensureVoicePermissions even though the mic permission was
granted, and the voice dialog kept showing the idle "Voice control
stopped.". The same throw hit ensureBlePermissions.

The Activity is now only looked up when a permission actually has to be
requested. A capture that fails to start for any reason other than a
denied permission now says so in the dialog instead of leaving the idle
status up.
2026-11-02 13:17:16 +05:30
James Babcock dff8608a63 Fix size of the notification modal after switching glasses-model mid-session 2026-11-01 23:43:32 -08:00