Purpose
The hackabrick was designed to target people who use a head tracker device and would like to do more functions than a left and right mouse clicks by only using two buttons.
Physical Setup
The Hackabrick is simply a micro arduino with two 3.5mm Mono plugs connected to pins two and three. The plugs are labelled left and right symbolizing the use of the left and right mouse clicks.
The box is designed in a way to show off the features of the micro arduino. These are the blue power light shines through a slot above the USB port. The on-board green light shines through a port on the side which is lit by pressing either button. The headers are used with a single row three way IDC connectors for easy installation. To enclose the box a lid slides through slots on the top side of the box and the arduino sits snug under the lid by having the top of the idc connector the same height of the lid. The botton of the brick has a reset port and there are two blocks printed inside the box used for a way to stop the arduino sliding towards the plugs while connecting the USB.
Program Features
When using the left and right buttons independantly the buttons simulate left and right mouse clicks.
If the left button is held and the right button held after, the Hackabrick will simulate a constant mouse scroll (at a speed that can be set in the program) until the right button is released, if another press of the right button occurs while the left button is still held down, the Hackabrick will simulate a mouse scroll in the other direction.
If the right button is held and the left button is pressed the escape key will be pressed.
This program was actually designed to make Sim City easier to play. With some modifications
this program can be changed to suit your application.