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.

261 { Log("WARNING: Engine without Gamepad support"); }
bool Log(const char *szMessage)
Definition: C4Log.cpp:204

References Log().

Here is the call graph for this function:

◆ ~C4GamePadControl()

C4GamePadControl::~C4GamePadControl ( )
default

Member Function Documentation

◆ Clear()

void C4GamePadControl::Clear ( )

◆ DoAxisInput()

void C4GamePadControl::DoAxisInput ( )

Definition at line 264 of file C4GamePadCon.cpp.

264 { }

Referenced by C4GameControl::PrepareInput().

Here is the caller graph for this function:

◆ Execute()

void C4GamePadControl::Execute ( )

Definition at line 263 of file C4GamePadCon.cpp.

263 { }

Referenced by C4Application::GameTick().

Here is the caller graph for this function:

◆ GetAvailableGamePad()

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

Definition at line 268 of file C4GamePadCon.cpp.

268 { return nullptr; }

◆ 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: