Total Armageddon USB Programmable Kill Switch
by fhidiort in Circuits > Computers
13147 Views, 43 Favorites, 0 Comments
Total Armageddon USB Programmable Kill Switch
Materials
USB mouse (or keyboard, or any game controller)- you can often find these for free or a couple bucks at a yard sale
Toggle switch- this one I bought from RadioShack for $5
Some sort of switch mount- from the electronics store, $1.50
Tools and other mats:
Soldering iron and wire
Electronic tape
Freeware AutoHotkey (www.autohotkey.com)
Project container for the controller, or in my case, Tupperware
Open Up the Mouse
Opening up the mouse is usually quite simple though it varies by manufacturer. Look at the underside of the mouse and strip away the rubbery pads; you'll find a screw underneath. The case should come off easily after that.
** It's recommended that you work in a (relatively) ESD-safe environment to avoid frying your mouse circuit board.
Solder Wires to the Mouse Buttons
I went ahead and soldered wires to all three buttons even though I ended up only using the middle button. I figured they might come in handy for some future project.
Finish it off with some electrical tape and store it in a container (or small Tupperware)
Connect the Switch
Then stick your switch into the mounting bracket. Sadly, the hole on my mounting bracket was a teensy bit too small so I stuck some double-sided tape underneath to stabilize it.
Program in Autohotkey
Here's a simple shutdown script:
;***********************************************************
; Upon middle button press, send command
MButton::Shutdown, 9
; Sleep function to prevent additional triggering
Sleep 60000
return
;***********************************************************
You can create a script to do pretty much anything, like pretend you're blowing stuff up...
;***********************************************************
; Upon middle button press, send command
MButton::MsgBox BOMB THEM!!
;***********************************************************
Flip the Switch!
Even better, you could link the hotkey script with a World of Warcraft macro and really feel like you're demolishing your opponents...
;***********************************************************
; Upon middle button press, send command
MButton::Send /castsequence reset=84 Bestial Wrath, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command, Kill Command
;***********************************************************
and flip the kill switch while shouting BOOM HEADSHOT