added raspberry pi joystick support, still need to add the library to repository. Clean some stuff up as well.