Moved code into the AnalogStick declaration so multiple stick can be instantiated.