class IJoystick;
IJoystick.h
enum ChannelType { ChannelTypeHorizontal, ChannelTypeVertical };
IJoystick.h
virtual ~IJoystick();
virtual void AddRef() = 0;
virtual const Vec2& GetCentre() const = 0;
virtual IJoystickChannel* GetChannel(ChannelType type) = 0;
virtual IJoystick::Color GetColor() const = 0;
virtual const Vec2& GetDimensions() const = 0;
virtual uint64 GetID() const = 0;
virtual const char* GetName() = 0;
virtual void Release() = 0;
virtual void SetCentre(const Vec2& vCentre) = 0;
virtual void SetChannel(ChannelType type, IJoystickChannel* pChannel) = 0;
virtual void SetColor(const Color& colour) = 0;
virtual void SetDimensions(const Vec2& vDimensions) = 0;
virtual void SetName(const char* szName) = 0;
typedef Vec3_tpl<unsigned char> Color;