This is a case for a Universal Game Controller. It uses a teensy 2.0 and interfaces similarly to your keyboard and mouse, the code is available at:
It has Full mouse functionality (R2 and L2 are mapped to left click and right click, and the right analog moves the mouse)
The Right analog is mapped to arrow keys on the keyboard and the other buttons are mapped to following keys:
The controller has a gaming move that re maps the left and right click (L2 and R2) to u and e for emulators that need more buttons.
Currently i'm using this controller for N64, GameCube and PSP emulator.
Dimensions are in inches
feel free to download and use.
Please read the readme file at the ripo
Make sure you visit my website for more cool projects: