@halone/sdk / Settings
Interface: Settings
Keys, defaults and ranges live in apps/system/public/settings-schema.json, which both hosts validate against.
Properties
bedMode.countdownSeconds
bedMode.countdownSeconds: number;bedMode.dwellSeconds
bedMode.dwellSeconds: number;bedMode.enabled
bedMode.enabled: boolean;bedMode.forwardDegrees
bedMode.forwardDegrees: number;browser.adBlocker
browser.adBlocker: boolean;uBlock Origin in every web window; installed from addons.mozilla.org the first time it is on.
browser.autoHideToolbar
browser.autoHideToolbar: boolean;browser.searchEngine
browser.searchEngine: "duckduckgo" | "google" | "bing";browser.userAgent
browser.userAgent: "desktop" | "mobile";developer.displayStats
developer.displayStats: boolean;The glasses' refresh rate and the frames actually drawn, along the bottom of the phone pad.
developer.enabled
developer.enabled: boolean;Lets @halone/cli install apps over adb, and run apps from a developer's server.
developer.tabLimit
developer.tabLimit: MemoryLimit;How many background tabs stay loaded, and for how long, before they are put to sleep.
developer.windowLimit
developer.windowLimit: MemoryLimit;How many windows may be open at once: auto goes by the phone's memory, low as on a phone with little of it.
diagnostics.crashReports
diagnostics.crashReports: boolean;Keeps Halone's own log on the device and offers to share a report after a crash. Off by default.
display.brightness
display.brightness: number;display.refreshRate
display.refreshRate: number;Hz; glasses that do not offer it use their own default.
display.stereo
display.stereo: boolean;Draws one image per eye. Ignored at a rate the glasses only offer in 2D.
dock.pinnedApps
dock.pinnedApps: string[];App ids, in dock order.
dock.visibility
dock.visibility: "always" | "auto-hide";follow.catchUpSeconds
follow.catchUpSeconds: number;follow.enabled
follow.enabled: boolean;follow.marginDegrees
follow.marginDegrees: number;gesture.glasses.left.doubleTap
gesture.glasses.left.doubleTap: GlassesGestureAction;gesture.glasses.left.tap
gesture.glasses.left.tap: GlassesGestureAction;gesture.glasses.right.doubleTap
gesture.glasses.right.doubleTap: GlassesGestureAction;gesture.glasses.right.tap
gesture.glasses.right.tap: GlassesGestureAction;gesture.glasses.scrollPx
gesture.glasses.scrollPx: number;gesture.pad.hold1
gesture.pad.hold1: PadHoldAction;gesture.pad.hold2
gesture.pad.hold2: PadHoldAction;gesture.pad.hold3
gesture.pad.hold3: PadHoldAction;gesture.pad.tap1
gesture.pad.tap1: PadTapAction;gesture.pad.tap2
gesture.pad.tap2: PadTapAction;gesture.pad.tap3
gesture.pad.tap3: PadTapAction;gesture.touchpad.hold1
gesture.touchpad.hold1: TouchpadHoldAction;gesture.touchpad.hold2
gesture.touchpad.hold2: TouchpadHoldAction;gesture.touchpad.hold3
gesture.touchpad.hold3: TouchpadHoldAction;gesture.touchpad.tap1
gesture.touchpad.tap1: PadTapAction;gesture.touchpad.tap2
gesture.touchpad.tap2: PadTapAction;gesture.touchpad.tap3
gesture.touchpad.tap3: PadTapAction;input.mouseSpeed
input.mouseSpeed: number;input.pointer
input.pointer: "gaze" | "phone" | "touchpad";input.pointerMovesWithWindows
input.pointerMovesWithWindows: boolean;A touchpad or mouse cursor is carried along by the window or dock it is on as they move. On by default.
input.touchpadSpeed
input.touchpadSpeed: number;layout.collisionPolicy
layout.collisionPolicy: CollisionPolicy;layout.slotSpacingDegrees
layout.slotSpacingDegrees: number;media.screenWidthDegrees
media.screenWidthDegrees: number;media.sphereDistanceMetres
media.sphereDistanceMetres: number;How far away a 2D 180° or 360° video seems; a 3D one keeps its own depth.
media.sphereZoom
media.sphereZoom: number;Below 1, a 180° or 360° video is squeezed so more of it fits in view.
panel.distanceMetres
panel.distanceMetres: number;testMode.enabled
testMode.enabled: boolean;Offers to run the environment on the phone's own screen and sensors, with no glasses. Turned on by tapping the glasses on the phone's home screen ten times.
tracking.custom
tracking.custom: boolean;Off, each pair of glasses uses its driver's own tracking tuning and the two below are ignored.
tracking.framePacing
tracking.framePacing: "auto" | "wait" | "free" | "glasses";Whether the compositor waits for each frame to reach the display.
tracking.predictionMs
tracking.predictionMs: number;tracking.steadinessDegrees
tracking.steadinessDegrees: number;Degrees the view may hold still while the head is at rest.
windows.autoHide
windows.autoHide: boolean;Hides every window while the pointer is on none of them.
windows.autoHideDelaySeconds
windows.autoHideDelaySeconds: number;windows.autoHideTitleBars
windows.autoHideTitleBars: "always" | "never" | "unfocused";Which windows' title bars fade out until the pointer reaches them. never by default.
windows.reclaimPhone
windows.reclaimPhone: boolean;Brings Halone back to the phone when closing an Android app's window moves that app onto it. On by default.
windows.shapeButton
windows.shapeButton: boolean;A title-bar button that cycles a window through landscape, portrait and 4:3. Off by default.
