OpenClonk
C4GamePadControl Class Reference

#include <C4GamePadCon.h>

Public Member Functions

 C4GamePadControl ()
 
 ~C4GamePadControl ()
 
void Clear ()
 
int GetGamePadCount ()
 
void Execute ()
 
void DoAxisInput ()
 
std::shared_ptr< C4GamePadOpenerGetGamePad (int gamepad)
 
std::shared_ptr< C4GamePadOpenerGetGamePadByID (int32_t id)
 
std::shared_ptr< C4GamePadOpenerGetAvailableGamePad ()
 

Static Public Attributes

static const int32_t MaxStrength = 32767
 

Detailed Description

Definition at line 31 of file C4GamePadCon.h.

Constructor & Destructor Documentation

◆ C4GamePadControl()

C4GamePadControl::C4GamePadControl ( )

Definition at line 261 of file C4GamePadCon.cpp.

References Log(), and ~C4GamePadControl().

261 { Log("WARNING: Engine without Gamepad support"); }
bool Log(const char *szMessage)
Definition: C4Log.cpp:202
Here is the call graph for this function:

◆ ~C4GamePadControl()

C4GamePadControl::~C4GamePadControl ( )
default

Referenced by C4GamePadControl().

Here is the caller graph for this function:

Member Function Documentation

◆ Clear()

void C4GamePadControl::Clear ( )

◆ DoAxisInput()

void C4GamePadControl::DoAxisInput ( )

Definition at line 264 of file C4GamePadCon.cpp.

Referenced by C4GameControl::PrepareInput().

264 { }
Here is the caller graph for this function:

◆ Execute()

void C4GamePadControl::Execute ( )

Definition at line 263 of file C4GamePadCon.cpp.

Referenced by C4Application::GameTick().

263 { }
Here is the caller graph for this function:

◆ GetAvailableGamePad()

std::shared_ptr< C4GamePadOpener > C4GamePadControl::GetAvailableGamePad ( )

Definition at line 268 of file C4GamePadCon.cpp.

Referenced by C4Player::InitControl().

268 { return nullptr; }
Here is the caller graph for this function:

◆ GetGamePad()

std::shared_ptr< C4GamePadOpener > C4GamePadControl::GetGamePad ( int  gamepad)

Definition at line 266 of file C4GamePadCon.cpp.

266 { return nullptr; }

◆ GetGamePadByID()

std::shared_ptr< C4GamePadOpener > C4GamePadControl::GetGamePadByID ( int32_t  id)

Definition at line 267 of file C4GamePadCon.cpp.

267 { return nullptr; }

◆ GetGamePadCount()

int C4GamePadControl::GetGamePadCount ( )

Definition at line 265 of file C4GamePadCon.cpp.

265 { return 0; }

Member Data Documentation

◆ MaxStrength

const int32_t C4GamePadControl::MaxStrength = 32767
static

Definition at line 48 of file C4GamePadCon.h.


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