mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
19 lines
855 B
JavaScript
19 lines
855 B
JavaScript
// Balance Board Configuration
|
|
// Purpose: Defines optional hardware enablement and development simulation.
|
|
// Scope: Contains configuration metadata only and never opens Bluetooth.
|
|
const { strictObject, boolean } = require('../../configuration/schemaHelpers');
|
|
|
|
module.exports = {
|
|
key: 'balanceBoard',
|
|
feature: true,
|
|
defaultValue: { enabled: false, simulate: false },
|
|
schema: strictObject({
|
|
enabled: boolean({ description: 'Immediately starts the Wii Balance Board service and exposes its readings and controls.' }),
|
|
simulate: boolean({ description: 'Runs the native worker with generated cyclic sensor data instead of connecting to Bluetooth hardware.' }),
|
|
}, {
|
|
title: 'Balance Board',
|
|
description: 'Optional Wii Balance Board input service with a development simulation mode.',
|
|
required: ['enabled', 'simulate'],
|
|
}),
|
|
};
|