Brunot
Loading...
Searching...
No Matches
Controllers Class Reference

#include <Input.h>

Public Member Functions

 Controllers ()
 Controllers (int playerNumber)
 ~Controllers ()
auto testController () -> void
auto showMenu () -> void
auto isPressed (const std::string &keyName) -> bool
auto Update () -> void

Private Attributes

const unsigned char * hat

Static Private Attributes

static std::unordered_map< std::string, unsigned int > bind
static int playerNum = 0
static int active = 0
static int NUMBER_OF_AXES = 8

Constructor & Destructor Documentation

◆ Controllers() [1/2]

Controllers::Controllers ( )

◆ Controllers() [2/2]

Controllers::Controllers ( int playerNumber)

◆ ~Controllers()

Controllers::~Controllers ( )

Member Function Documentation

◆ isPressed()

auto Controllers::isPressed ( const std::string & keyName) ->bool
Here is the caller graph for this function:

◆ showMenu()

auto Controllers::showMenu ( ) ->void

◆ testController()

auto Controllers::testController ( ) ->void
Here is the call graph for this function:

◆ Update()

auto Controllers::Update ( ) ->void

Member Data Documentation

◆ active

int Controllers::active = 0
staticprivate

◆ bind

std::unordered_map< std::string, unsigned int > Controllers::bind
staticprivate

◆ hat

const unsigned char* Controllers::hat
private

◆ NUMBER_OF_AXES

int Controllers::NUMBER_OF_AXES = 8
staticprivate

◆ playerNum

int Controllers::playerNum = 0
staticprivate

The documentation for this class was generated from the following files:
  • /home/egrazil/sites/Brunot/The House/source/System/Input.h
  • /home/egrazil/sites/Brunot/The House/source/System/Input.cpp