Skip to content

1Fr3dG/BigButton

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

One-button USB HID keyboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages