You.i Engine
CYIGamePad Class Reference

#include <input/YiGamePad.h>

Classes

class  AnalogInputDeadZone
 

Public Member Functions

const CYIGamePadButtonGetDPadLeftButton () const
 
const CYIGamePadButtonGetDPadRightButton () const
 
const CYIGamePadButtonGetDPadUpButton () const
 
const CYIGamePadButtonGetDPadDownButton () const
 
const CYIGamePadButtonGetButton0 () const
 
const CYIGamePadButtonGetButton1 () const
 
const CYIGamePadButtonGetButton2 () const
 
const CYIGamePadButtonGetButton3 () const
 
const CYIGamePadButtonGetSelectButton () const
 
const CYIGamePadButtonGetStartButton () const
 
const CYIGamePadButtonGetLeftThumbStickButton () const
 
const CYIGamePadButtonGetRightThumbStickButton () const
 
const CYIGamePadButtonGetLeftBumperButton () const
 
const CYIGamePadButtonGetRightBumperButton () const
 
const CYIGamePadButtonGetLeftTriggerButton () const
 
const CYIGamePadButtonGetRightTriggerButton () const
 
const CYIGamePadButtonGetLeftThumbStickLeftButton () const
 
const CYIGamePadButtonGetLeftThumbStickRightButton () const
 
const CYIGamePadButtonGetLeftThumbStickUpButton () const
 
const CYIGamePadButtonGetLeftThumbStickDownButton () const
 
const CYIGamePadButtonGetRightThumbStickLeftButton () const
 
const CYIGamePadButtonGetRightThumbStickRightButton () const
 
const CYIGamePadButtonGetRightThumbStickUpButton () const
 
const CYIGamePadButtonGetRightThumbStickDownButton () const
 
const CYIGamePadExtendedButtonsGetExtendedButtons () const
 
const glm::vec2 & GetLeftThumbStickAxes () const
 
const glm::vec2 & GetRightThumbStickAxes () const
 
float GetLeftTriggerAxis () const
 
float GetRightTriggerAxis () const
 
bool IsAutoRepeatEnabled () const
 
void SetAutoRepeatEnabled (bool enabled)
 

Static Public Member Functions

static const CYIGamePadGetUserGamePad ()
 
static bool IsSingleContollerModeEnabled ()
 
static void SetSingleContollerModeEnabled (bool enabled)
 
static void SetLeftThumbStickDeadzone (AnalogInputDeadZone deadZone)
 
static void SetRightThumbStickDeadzone (AnalogInputDeadZone deadZone)
 
static const AnalogInputDeadZoneGetLeftThumbStickDeadZone ()
 
static const AnalogInputDeadZoneGetRightThumbStickDeadZone ()
 

Friends

class CYIGamePadPriv
 

Member Function Documentation

◆ GetButton0()

const CYIGamePadButton& CYIGamePad::GetButton0 ( ) const

◆ GetButton1()

const CYIGamePadButton& CYIGamePad::GetButton1 ( ) const

◆ GetButton2()

const CYIGamePadButton& CYIGamePad::GetButton2 ( ) const

◆ GetButton3()

const CYIGamePadButton& CYIGamePad::GetButton3 ( ) const

◆ GetDPadDownButton()

const CYIGamePadButton& CYIGamePad::GetDPadDownButton ( ) const

◆ GetDPadLeftButton()

const CYIGamePadButton& CYIGamePad::GetDPadLeftButton ( ) const

◆ GetDPadRightButton()

const CYIGamePadButton& CYIGamePad::GetDPadRightButton ( ) const

◆ GetDPadUpButton()

const CYIGamePadButton& CYIGamePad::GetDPadUpButton ( ) const

◆ GetExtendedButtons()

const CYIGamePadExtendedButtons* CYIGamePad::GetExtendedButtons ( ) const

◆ GetLeftBumperButton()

const CYIGamePadButton& CYIGamePad::GetLeftBumperButton ( ) const

◆ GetLeftThumbStickAxes()

const glm::vec2& CYIGamePad::GetLeftThumbStickAxes ( ) const

◆ GetLeftThumbStickButton()

const CYIGamePadButton& CYIGamePad::GetLeftThumbStickButton ( ) const

◆ GetLeftThumbStickDeadZone()

static const AnalogInputDeadZone& CYIGamePad::GetLeftThumbStickDeadZone ( )
static

◆ GetLeftThumbStickDownButton()

const CYIGamePadButton& CYIGamePad::GetLeftThumbStickDownButton ( ) const

◆ GetLeftThumbStickLeftButton()

const CYIGamePadButton& CYIGamePad::GetLeftThumbStickLeftButton ( ) const

◆ GetLeftThumbStickRightButton()

const CYIGamePadButton& CYIGamePad::GetLeftThumbStickRightButton ( ) const

◆ GetLeftThumbStickUpButton()

const CYIGamePadButton& CYIGamePad::GetLeftThumbStickUpButton ( ) const

◆ GetLeftTriggerAxis()

float CYIGamePad::GetLeftTriggerAxis ( ) const

◆ GetLeftTriggerButton()

const CYIGamePadButton& CYIGamePad::GetLeftTriggerButton ( ) const

◆ GetRightBumperButton()

const CYIGamePadButton& CYIGamePad::GetRightBumperButton ( ) const

◆ GetRightThumbStickAxes()

const glm::vec2& CYIGamePad::GetRightThumbStickAxes ( ) const

◆ GetRightThumbStickButton()

const CYIGamePadButton& CYIGamePad::GetRightThumbStickButton ( ) const

◆ GetRightThumbStickDeadZone()

static const AnalogInputDeadZone& CYIGamePad::GetRightThumbStickDeadZone ( )
static

◆ GetRightThumbStickDownButton()

const CYIGamePadButton& CYIGamePad::GetRightThumbStickDownButton ( ) const

◆ GetRightThumbStickLeftButton()

const CYIGamePadButton& CYIGamePad::GetRightThumbStickLeftButton ( ) const

◆ GetRightThumbStickRightButton()

const CYIGamePadButton& CYIGamePad::GetRightThumbStickRightButton ( ) const

◆ GetRightThumbStickUpButton()

const CYIGamePadButton& CYIGamePad::GetRightThumbStickUpButton ( ) const

◆ GetRightTriggerAxis()

float CYIGamePad::GetRightTriggerAxis ( ) const

◆ GetRightTriggerButton()

const CYIGamePadButton& CYIGamePad::GetRightTriggerButton ( ) const

◆ GetSelectButton()

const CYIGamePadButton& CYIGamePad::GetSelectButton ( ) const

◆ GetStartButton()

const CYIGamePadButton& CYIGamePad::GetStartButton ( ) const

◆ GetUserGamePad()

static const CYIGamePad& CYIGamePad::GetUserGamePad ( )
static

◆ IsAutoRepeatEnabled()

bool CYIGamePad::IsAutoRepeatEnabled ( ) const

◆ IsSingleContollerModeEnabled()

static bool CYIGamePad::IsSingleContollerModeEnabled ( )
static

◆ SetAutoRepeatEnabled()

void CYIGamePad::SetAutoRepeatEnabled ( bool  enabled)

◆ SetLeftThumbStickDeadzone()

static void CYIGamePad::SetLeftThumbStickDeadzone ( AnalogInputDeadZone  deadZone)
static

◆ SetRightThumbStickDeadzone()

static void CYIGamePad::SetRightThumbStickDeadzone ( AnalogInputDeadZone  deadZone)
static

◆ SetSingleContollerModeEnabled()

static void CYIGamePad::SetSingleContollerModeEnabled ( bool  enabled)
static

Friends And Related Function Documentation

◆ CYIGamePadPriv

friend class CYIGamePadPriv
friend

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