GithubHelp home page GithubHelp logo

veryseriousbutton-vsbutil's Introduction

VerySeriousButton-vsbutil

"Service utility" for the Very Serious Button (https://www.indiegogo.com/projects/very-serious-button). This code was built for testing and initial programming of Very Serious Buttons during production. It is being provided as a tool for advanced users and a reference to demonstrate how the configuration interface works. No warranty is provided. Use at your own risk.

Requires:

Usage:

See online help (./vsbutil.py --help)

Examples:

./vsbutil.py setjoy
./vsbutil.py saveconfig

./vsbutil.py setkey ctrl+c
./vsbutil.py saveconfig

./vsbutil.py setkeys shift+h e l l o comma space w o r l d shift+1

Notes:

Configuration changes made by the "setjoy" or "setkey" commands are applied in RAM and will not persist across a reset unless you explicitly call the "saveconfig" command afterward. However, the "setkeys" command causes the configuration to be saved immediately.

Author:

Greg Courville <[email protected]>

veryseriousbutton-vsbutil's People

Contributors

gregcourville avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

veryseriousbutton-vsbutil's Issues

Cython Error after running ./vsbutil.py

After installing cython and hid on Mac, I'm still having trouble using the provided script.

$ ./vsbutil.py getserial
Traceback (most recent call last):
  File "./vsbutil.py", line 537, in <module>
    run(sys.argv)
  File "./vsbutil.py", line 471, in run
    vsb = VerySeriousButton(serial = opts.serial)
  File "./vsbutil.py", line 254, in __init__
    self.hid_dev = hid.device()
  File "hid.pyx", line 39, in hid.device.__cinit__ (hid.c:1149)
TypeError: __cinit__() takes at least 2 positional arguments (0 given)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.