Skip to content

@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 ​

ts
bedMode.countdownSeconds: number;

bedMode.dwellSeconds ​

ts
bedMode.dwellSeconds: number;

bedMode.enabled ​

ts
bedMode.enabled: boolean;

bedMode.forwardDegrees ​

ts
bedMode.forwardDegrees: number;

browser.adBlocker ​

ts
browser.adBlocker: boolean;

uBlock Origin in every web window; installed from addons.mozilla.org the first time it is on.


browser.autoHideToolbar ​

ts
browser.autoHideToolbar: boolean;

browser.searchEngine ​

ts
browser.searchEngine: "duckduckgo" | "google" | "bing";

browser.userAgent ​

ts
browser.userAgent: "desktop" | "mobile";

developer.displayStats ​

ts
developer.displayStats: boolean;

The glasses' refresh rate and the frames actually drawn, along the bottom of the phone pad.


developer.enabled ​

ts
developer.enabled: boolean;

Lets @halone/cli install apps over adb, and run apps from a developer's server.


developer.tabLimit ​

ts
developer.tabLimit: MemoryLimit;

How many background tabs stay loaded, and for how long, before they are put to sleep.


developer.windowLimit ​

ts
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 ​

ts
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 ​

ts
display.brightness: number;

display.refreshRate ​

ts
display.refreshRate: number;

Hz; glasses that do not offer it use their own default.


display.stereo ​

ts
display.stereo: boolean;

Draws one image per eye. Ignored at a rate the glasses only offer in 2D.


dock.pinnedApps ​

ts
dock.pinnedApps: string[];

App ids, in dock order.


dock.visibility ​

ts
dock.visibility: "always" | "auto-hide";

follow.catchUpSeconds ​

ts
follow.catchUpSeconds: number;

follow.enabled ​

ts
follow.enabled: boolean;

follow.marginDegrees ​

ts
follow.marginDegrees: number;

gesture.glasses.left.doubleTap ​

ts
gesture.glasses.left.doubleTap: GlassesGestureAction;

gesture.glasses.left.tap ​

ts
gesture.glasses.left.tap: GlassesGestureAction;

gesture.glasses.right.doubleTap ​

ts
gesture.glasses.right.doubleTap: GlassesGestureAction;

gesture.glasses.right.tap ​

ts
gesture.glasses.right.tap: GlassesGestureAction;

gesture.glasses.scrollPx ​

ts
gesture.glasses.scrollPx: number;

gesture.pad.hold1 ​

ts
gesture.pad.hold1: PadHoldAction;

gesture.pad.hold2 ​

ts
gesture.pad.hold2: PadHoldAction;

gesture.pad.hold3 ​

ts
gesture.pad.hold3: PadHoldAction;

gesture.pad.tap1 ​

ts
gesture.pad.tap1: PadTapAction;

gesture.pad.tap2 ​

ts
gesture.pad.tap2: PadTapAction;

gesture.pad.tap3 ​

ts
gesture.pad.tap3: PadTapAction;

gesture.touchpad.hold1 ​

ts
gesture.touchpad.hold1: TouchpadHoldAction;

gesture.touchpad.hold2 ​

ts
gesture.touchpad.hold2: TouchpadHoldAction;

gesture.touchpad.hold3 ​

ts
gesture.touchpad.hold3: TouchpadHoldAction;

gesture.touchpad.tap1 ​

ts
gesture.touchpad.tap1: PadTapAction;

gesture.touchpad.tap2 ​

ts
gesture.touchpad.tap2: PadTapAction;

gesture.touchpad.tap3 ​

ts
gesture.touchpad.tap3: PadTapAction;

input.mouseSpeed ​

ts
input.mouseSpeed: number;

input.pointer ​

ts
input.pointer: "gaze" | "phone" | "touchpad";

input.pointerMovesWithWindows ​

ts
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 ​

ts
input.touchpadSpeed: number;

layout.collisionPolicy ​

ts
layout.collisionPolicy: CollisionPolicy;

layout.slotSpacingDegrees ​

ts
layout.slotSpacingDegrees: number;

media.screenWidthDegrees ​

ts
media.screenWidthDegrees: number;

media.sphereDistanceMetres ​

ts
media.sphereDistanceMetres: number;

How far away a 2D 180° or 360° video seems; a 3D one keeps its own depth.


media.sphereZoom ​

ts
media.sphereZoom: number;

Below 1, a 180° or 360° video is squeezed so more of it fits in view.


panel.distanceMetres ​

ts
panel.distanceMetres: number;

testMode.enabled ​

ts
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 ​

ts
tracking.custom: boolean;

Off, each pair of glasses uses its driver's own tracking tuning and the two below are ignored.


tracking.framePacing ​

ts
tracking.framePacing: "auto" | "wait" | "free" | "glasses";

Whether the compositor waits for each frame to reach the display.


tracking.predictionMs ​

ts
tracking.predictionMs: number;

tracking.steadinessDegrees ​

ts
tracking.steadinessDegrees: number;

Degrees the view may hold still while the head is at rest.


windows.autoHide ​

ts
windows.autoHide: boolean;

Hides every window while the pointer is on none of them.


windows.autoHideDelaySeconds ​

ts
windows.autoHideDelaySeconds: number;

windows.autoHideTitleBars ​

ts
windows.autoHideTitleBars: "always" | "never" | "unfocused";

Which windows' title bars fade out until the pointer reaches them. never by default.


windows.reclaimPhone ​

ts
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 ​

ts
windows.shapeButton: boolean;

A title-bar button that cycles a window through landscape, portrait and 4:3. Off by default.

Released under the MIT License.