Introduction: Total Armageddon USB Programmable Kill Switch
Step 1: 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
Step 2: 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.
Step 3: 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)
Step 4: 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.
Step 5: 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!!
;***********************************************************
Step 6: 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





