Reimplemented gamepad support

Currently has some major bugs, will have to be fixed in opentk.