Show in Diagnostics what the glasses deliver (event types only)
During the second device session a tap on the glasses did nothing and the phone page could not show whether the Even app had delivered any event. The Even adapter now counts gesture/lifecycle events, ignored events and audio frames and records the last non-audio event by envelope and type code (never audio or content). The phone's Diagnostics shows it and refreshes when an event arrives, including one that changes no state. Not reviewed. Not deployed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -27,4 +27,11 @@ export interface DevicePort {
|
||||
* land later, so `false` is "not confirmed", never "not written" and never "written".
|
||||
*/
|
||||
storageSet(key: string, value: string): Promise<boolean>;
|
||||
/**
|
||||
* Optional, for the phone's Diagnostics only: a one-line summary of what the glasses runtime
|
||||
* has delivered (counts and event types; never audio or any content).
|
||||
*/
|
||||
inputSummary?(): string;
|
||||
/** Optional: called whenever `inputSummary()` would change. */
|
||||
onInputActivity?(listener: () => void): () => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user