/button

Go language support of Dream Cheeky's Big Read Button

Primary LanguageGoMIT LicenseMIT

button

Go (golang) language support of Dream Cheeky's Big Read Button (http://dreamcheeky.com/big-red-button). This is not even Alpha :-)

You need a udev rule to access this device. Add this file:

/etc/udev/rules.d/50-big-red-button.rules

It should contain:

ACTION=="add", ENV{ID_MODEL}=="DL100B_Dream_Cheeky_Generic_Controller", SYMLINK+="big_red_button", MODE="0666"
ACTION=="remove", ENV{ID_MODEL}=="DL100B_Dream_Cheeky_Generic_Controller"

I learned how to do this from this page

I'm heavily tweaking this file so it may be in any state. I'm using Github primarily for backup but if this helps you then great! Note that reading the button state seems to lock up after a short while so it's not ready for prime time yet. Constructive comments welcome!