Optimizations and new functionality in FlxJoystick