Giter Site home page Giter Site logo

bigbutton's Introduction

BigButton

One-button USB HID keyboard Finished BigButton

User Manual

  1. Start computer and open a plain text editor notepadon Windows
  2. Press and hold the button, then connect the USB cable
  3. Follow the instruction to select a mode
  4. Disconnect the cable
  5. Connect the cable again with button released
  6. Be happy by pressing the button

This project is influenced by pictures on WeChat, when I want to buy one from the original creator, it became unavailable. So, I selected parts on taobao and build one by myself.

License

This project publiced according to WTFPL. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Hardware

All button & box parts were found from taobao. Total cost (my version @ 20150521) RMB98.88.

####The button LA38-11

I picked this since I like the arrows on top. It's an auto-lock button, I removed the locker.

LA38-11

####Box

Box

####Yellow Cover

Cover

####Arduino Beetle

Arduino Beetle

####Lines

  • Micro-USB Cable
  • Dupont Line

Construction

There are many references on project vim-pedal.

Connect the button

  • When its status is released, connect D9 to LOW
  • When its status is pressed, connect D9 to HIGH

Assembling

Then, connect the usb cable

Chip

Program

Currentlly, the program support 6 modes:

    1. Default mode: Enter.
    1. Emergency STOP 1: ESC.
    1. Emergency STOP 2: Ctrl-C.
    1. Emergency STOP 3: ESC, Enter.
    1. Emergency STOP 4: ESC, tab, Enter.
    1. Emergency STOP 5: Ctrl-C, Y, Enter.
    1. Emergency Shutdown Windows: run "shutdown -s -f -t 0".
    1. Next Window: Alt-Tab.
    1. Next App (OSX): Cmd-Tab.
    1. Next Tab (Byobu): F3.
    1. BSOD.
    • You need set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters\CrashOnCtrlScroll to 1

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.