API Documentation
Loading...
Searching...
No Matches
ControllerInterface Class Referenceabstract

Provides standard logic shared across all hardware controllers to be used with the software. More...

#include <ControllerInterface.h>

Inheritance diagram for ControllerInterface:
[legend]
Collaboration diagram for ControllerInterface:
[legend]

Classes

struct  ControlButton
 
struct  ControllerInput
 
struct  ControlStick
 
struct  ControlTrigger
 
struct  HapticFeedback
 

Signals

void onUpdated ()
 

Public Member Functions

virtual Buffer< Battery * > batteries () const =0
 
virtual Buffer< ControlButtoncenterButtons () const =0
 
virtual RGBColor color () const =0
 
virtual Buffer< HapticFeedbackhapticFeedback () const =0
 
virtual UUID id () const =0
 
virtual Buffer< ControlButtonleftButtons () const =0
 
virtual Buffer< ControlStickleftSticks () const =0
 
virtual Buffer< ControlTriggerleftTriggers () const =0
 
virtual bool requestColor (const RGBColor &color)=0
 
virtual bool requestVibrating (fltp08 left, fltp08 right)=0
 
virtual Buffer< ControlButtonrightButtons () const =0
 
virtual Buffer< ControlStickrightSticks () const =0
 
virtual Buffer< ControlTriggerrightTriggers () const =0
 
virtual void setWindowInstance (WindowInstance *)
 
virtual void updateState ()=0
 
virtual Vector< 2, fltp08vibration () const =0
 

Detailed Description

Provides standard logic shared across all hardware controllers to be used with the software.


autotoc_md1171

Member Function Documentation

◆ batteries()

virtual Buffer< Battery * > batteries ( ) const
pure virtual

◆ centerButtons()

virtual Buffer< ControlButton > centerButtons ( ) const
pure virtual

◆ color()

virtual RGBColor color ( ) const
pure virtual

◆ hapticFeedback()

virtual Buffer< HapticFeedback > hapticFeedback ( ) const
pure virtual

◆ id()

virtual UUID id ( ) const
pure virtual

◆ leftButtons()

virtual Buffer< ControlButton > leftButtons ( ) const
pure virtual

◆ leftSticks()

virtual Buffer< ControlStick > leftSticks ( ) const
pure virtual

◆ leftTriggers()

virtual Buffer< ControlTrigger > leftTriggers ( ) const
pure virtual

◆ onUpdated

void onUpdated ( )
signal

◆ requestColor()

virtual bool requestColor ( const RGBColor & color)
pure virtual

◆ requestVibrating()

virtual bool requestVibrating ( fltp08 left,
fltp08 right )
pure virtual

◆ rightButtons()

virtual Buffer< ControlButton > rightButtons ( ) const
pure virtual

◆ rightSticks()

virtual Buffer< ControlStick > rightSticks ( ) const
pure virtual

◆ rightTriggers()

virtual Buffer< ControlTrigger > rightTriggers ( ) const
pure virtual

◆ setWindowInstance()

virtual void setWindowInstance ( WindowInstance * )
inlinevirtual

◆ updateState()

virtual void updateState ( )
pure virtual

◆ vibration()

virtual Vector< 2, fltp08 > vibration ( ) const
pure virtual

The documentation for this class was generated from the following file: