You.i Engine
CYIGamePadButton Class Reference

#include <input/YiGamePadButton.h>

Public Types

enum  State {
  State::Released,
  State::Pressed,
  State::JustPressed,
  State::JustReleased
}
 

Public Member Functions

bool IsPressed () const
 
State GetState () const
 

Friends

class CYIGamePad
 
class CYIGamePadPriv
 
class CYIGamePadExtendedButtons
 

Member Enumeration Documentation

◆ State

Enumerator
Released 
Pressed 
JustPressed 
JustReleased 

Member Function Documentation

◆ GetState()

State CYIGamePadButton::GetState ( ) const

◆ IsPressed()

bool CYIGamePadButton::IsPressed ( ) const

Friends And Related Function Documentation

◆ CYIGamePad

friend class CYIGamePad
friend

◆ CYIGamePadExtendedButtons

friend class CYIGamePadExtendedButtons
friend

◆ CYIGamePadPriv

friend class CYIGamePadPriv
friend

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