This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am elliots on github. | |
* I am elliots (https://keybase.io/elliots) on keybase. | |
* I have a public key ASAflJScdluIftDdiLzLXqmfGmzfHeoS1bqvN_1cPSZAkAo | |
To claim this, I am signing this object: |
This file contains 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
package main | |
import ( | |
"log" | |
"reflect" | |
"github.com/davecgh/go-spew/spew" | |
) | |
type MyImportantValues struct { |
This file contains 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'); |
This file contains 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 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 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 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 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 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 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" }] | |
} |
NewerOlder