This is an OpenSCAD design for a 3D printable joystick (it's not finished yet, so don't bother trying to print it yet)