Skip to content

Instantly share code, notes, and snippets.

View elliots's full-sized avatar

☃ Elliot Shepherd elliots

View GitHub Profile
return {
"name": "Default Widget",
"deviceMap": [
{ minimum: "1", maximum:"1" }
]
}
@elliots
elliots / options.js
Last active December 21, 2015 06:39 — forked from jmanoto/options.js
NinjaBlocks notification device widget
return {
"name": "Notification",
"deviceMap": [{ "deviceType": "notification" }]
}
@elliots
elliots / options.js
Last active December 21, 2015 06:39 — forked from jmanoto/options.js
return {
"name": "Open URL",
"deviceMap": [{ "deviceType": "openurl" }]
}
@elliots
elliots / options.js
Last active December 21, 2015 06:39 — forked from jmanoto/options.js
return {
"name": "Text-to-speech",
"deviceMap": [{ "deviceType": "speech" }]
}
@elliots
elliots / options.js
Last active December 21, 2015 06:39 — forked from jmanoto/options.js
return {
"name": "Lock Screen",
"deviceMap": [{ "deviceType": "lock-screen" }]
}
@elliots
elliots / options.js
Last active December 21, 2015 22:18 — forked from bacall213/options.js
Based on bcall's excellent work...
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
}
@elliots
elliots / options.js
Last active June 27, 2024 13:50 — forked from bacall213/options.js
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
}
@elliots
elliots / options.js
Last active December 27, 2015 08:39 — forked from jmanoto/options.js
// Forked default widget to show live json DA.
return {
"name": "Default Widget",
"deviceMap": [
{ minimum: "1", maximum:"1" }
]
}
@elliots
elliots / options.js
Last active December 27, 2015 15:29 — forked from jmanoto/options.js
Shell command widget
return {
"name": "Shell Command",
"deviceMap": [{ "deviceType": "shell" }]
}
@elliots
elliots / test.js
Created July 22, 2014 07:16
Node.JS Wii U Pro Controller and Wiimote events
'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');