11 #include "games/controllers/ControllerTypes.h" 12 #include "input/InputTypes.h" 24 class CPhysicalFeature;
72 virtual bool Refresh(
const std::string& controllerId) = 0;
79 virtual void OnFocus(
unsigned int controllerIndex) = 0;
86 virtual void OnSelect(
unsigned int controllerIndex) = 0;
145 virtual void OnFocus(
unsigned int buttonIndex) = 0;
151 virtual void OnSelect(
unsigned int buttonIndex) = 0;
183 virtual bool PromptForInput(
CEvent& waitEvent) = 0;
189 virtual bool IsFinished(
void)
const = 0;
197 virtual INPUT::CARDINAL_DIRECTION GetCardinalDirection(
void)
const = 0;
228 virtual void Reset(
void) = 0;
250 virtual void Run(
const std::string& strControllerId,
251 const std::vector<IFeatureButton*>& buttons) = 0;
264 virtual bool Abort(
bool bWait =
true) = 0;
278 virtual void UnregisterKeys() = 0;
This is an Event class built from a ConditionVariable.
Definition: Event.h:35
THROTTLE_DIRECTION
Directions on a throttle.
Definition: JoystickTypes.h:130
virtual void OnSelect(unsigned int controllerIndex)=0
The specified controller has been selected.
virtual void Deinitialize(void)=0
Deinitialize the resource.
virtual bool Initialize(void)=0
Initialize the resource.
A wizard to direct user input.
Definition: IConfigurationWindow.h:240
FEATURE_TYPE
Types of features used in the joystick library.
Definition: JoystickTypes.h:49
A list populated by the controller's features.
Definition: IConfigurationWindow.h:110
virtual bool Refresh(const std::string &controllerId)=0
Refresh the contents of the list.
A list populated by installed controllers for the controller configuration window.
Definition: IConfigurationWindow.h:47
WHEEL_DIRECTION
Directions on a wheel.
Definition: JoystickTypes.h:120
Definition: AudioDecoder.h:18
std::shared_ptr< CController > ControllerPtr
Smart pointer to a game controller (CController)
Definition: ControllerTypes.h:25
virtual void ResetController(void)=0
Reset the focused controller.
virtual int GetFocusedController() const =0
Get the index of the focused controller.
Definition: PhysicalFeature.h:30