mcopy/app/lib/devices
Matt McWilliams b21b899303 Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
..
Readme.md Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
index.d.ts Removed several uses of any and added types to System module. 2024-05-23 19:54:42 -04:00
index.js Ported main.js to TypeScript. Rewrote all imports and replaced with class constructors, not require()(). 2024-05-23 20:51:35 -04:00
index.js.map Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
package.json Refactor settings into Typescript class module. 2019-03-21 18:00:34 -04:00

Readme.md

Devices

class representing the device discovery features

Kind: global class

new Devices()

Constructor assigns arduino, settings, UI browser window and cam objects locally to this class for reference.

devices.init()

Initialize the log for "devices". Establish an ipc connection to the UI. Start listening on that ipc connection.

Kind: instance method of Devices

devices.listen()

Listen to the "profile" channel for messages from the UI.

Kind: instance method of Devices

devices.listener()

The "profile" channel callback. If a profile is changed, set it in the local settings object.

Kind: instance method of Devices

devices.enumerate()

Kind: instance method of Devices

devices.favor()

Kind: instance method of Devices

devices.distinguish()

Kind: instance method of Devices

devices.fakeProjector()

Kind: instance method of Devices

devices.fakeCamera()

Kind: instance method of Devices

devices.fakeLight()

Kind: instance method of Devices

devices.fakeCapper()

Kind: instance method of Devices

devices.connectDevice()

Kind: instance method of Devices

devices.all()

Kind: instance method of Devices

devices.remember()

Kind: instance method of Devices

devices.ready()

Kind: instance method of Devices