OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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 ( )

Definition at line 261 of file C4GamePadCon.cpp.

References Log().

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

Here is the call graph for this function:

C4GamePadControl::~C4GamePadControl ( )
default

Member Function Documentation

void C4GamePadControl::Clear ( )
void C4GamePadControl::DoAxisInput ( )

Definition at line 264 of file C4GamePadCon.cpp.

Referenced by C4GameControl::PrepareInput().

264 { }

Here is the caller graph for this function:

void C4GamePadControl::Execute ( )

Definition at line 263 of file C4GamePadCon.cpp.

Referenced by C4Application::GameTick().

263 { }

Here is the caller graph for this function:

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

Definition at line 268 of file C4GamePadCon.cpp.

268 { return nullptr; }
std::shared_ptr< C4GamePadOpener > C4GamePadControl::GetGamePad ( int  gamepad)

Definition at line 266 of file C4GamePadCon.cpp.

266 { return nullptr; }
std::shared_ptr< C4GamePadOpener > C4GamePadControl::GetGamePadByID ( int32_t  id)

Definition at line 267 of file C4GamePadCon.cpp.

267 { return nullptr; }
int C4GamePadControl::GetGamePadCount ( )

Definition at line 265 of file C4GamePadCon.cpp.

265 { return 0; }

Member Data Documentation

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: