Skip to content

Instantly share code, notes, and snippets.

@sdhibit
sdhibit / MLG Pro Circuit Controller (Xbox).cfg
Created December 25, 2019 15:43
Lakka XBox MLG Pro Configuration
input_driver = "udev"
input_device = "MLG Pro Circuit Controller (Xbox)"
input_vendor_id = "7085"
input_product_id = "61475"
input_b_btn = "0"
input_y_btn = "2"
input_select_btn = "6"
input_start_btn = "7"
input_up_btn = "h0up"
input_down_btn = "h0down"
@sdhibit
sdhibit / isysubscribe.js
Created September 24, 2015 17:18
Node.js demo of ISY994 REST subscription using websockets
var WebSocket = require('ws');
var username = 'admin'; //replace with admin username
var password = 'password'; //replace with admin password
var host = '192.168.1.100'; //replace with your ISY IP
var auth = username + ':' + password;
var url = 'ws://' + auth + '@' + host + '/rest/subscribe';
var ws = new WebSocket(url, 'ISYSUB', {
origin: 'com.universal-devices.websockets.isy',
@sdhibit
sdhibit / keybase.md
Created December 5, 2014 19:43
Keybase

Keybase proof

I hereby claim:

  • I am sdhibit on github.
  • I am sdhibit (https://keybase.io/sdhibit) on keybase.
  • I have a public key whose fingerprint is D5EF 2FDC F596 020C 7893 1E4E CE83 96D7 79AF 5147

To claim this, I am signing this object: