This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Default Widget", | |
| "deviceMap": [ | |
| { minimum: "1", maximum:"1" } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Notification", | |
| "deviceMap": [{ "deviceType": "notification" }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Open URL", | |
| "deviceMap": [{ "deviceType": "openurl" }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Text-to-speech", | |
| "deviceMap": [{ "deviceType": "speech" }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Lock Screen", | |
| "deviceMap": [{ "deviceType": "lock-screen" }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Bandwidth In/Out", | |
| "deviceMap": [ | |
| { "deviceId": [530,531,532,533], "minimum": 1, "maximum": 1},// Incoming | |
| { "deviceId": [540,541,542,543], "minimum": 1, "maximum": 1} // Outgoing | |
| ], | |
| "forceDeviceMapGroup": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Bandwidth In/Out", | |
| "deviceMap": [ | |
| { "deviceId": [530,531,532,533], "minimum": 1, "maximum": 1},// Incoming | |
| { "deviceId": [540,541,542,543], "minimum": 1, "maximum": 1} // Outgoing | |
| ], | |
| "forceDeviceMapGroup": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Forked default widget to show live json DA. | |
| return { | |
| "name": "Default Widget", | |
| "deviceMap": [ | |
| { minimum: "1", maximum:"1" } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| "name": "Shell Command", | |
| "deviceMap": [{ "deviceType": "shell" }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| /* | |
| * This handles Wii U Pro Controllers and Wiimotes, but doesn't yet detect which it is =) | |
| * `npm install node-hid pakkit` | |
| */ | |
| var HID = require('node-hid'); | |
| var pakkit = require('pakkit'); |
OlderNewer