OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4GamePadOpener Class Reference

#include <C4GamePadCon.h>

Public Member Functions

 C4GamePadOpener (int iGamePad)
 
 ~C4GamePadOpener ()
 
int32_t GetPlayer () const
 
void SetPlayer (int32_t plr)
 
int32_t GetID ()
 
bool IsAttached ()
 
void PlayRumble (float strength, uint32_t length)
 
void StopRumble ()
 

Detailed Description

Definition at line 62 of file C4GamePadCon.h.

Constructor & Destructor Documentation

C4GamePadOpener::C4GamePadOpener ( int  iGamePad)

Definition at line 270 of file C4GamePadCon.cpp.

270 { }
C4GamePadOpener::~C4GamePadOpener ( )
default

Member Function Documentation

int32_t C4GamePadOpener::GetID ( )

Definition at line 272 of file C4GamePadCon.cpp.

272 { return -1; }
int32_t C4GamePadOpener::GetPlayer ( ) const
inline

Definition at line 71 of file C4GamePadCon.h.

71 { return player; }
bool C4GamePadOpener::IsAttached ( )

Definition at line 273 of file C4GamePadCon.cpp.

273 { return false; }
void C4GamePadOpener::PlayRumble ( float  strength,
uint32_t  length 
)

Definition at line 274 of file C4GamePadCon.cpp.

274 { }
void C4GamePadOpener::SetPlayer ( int32_t  plr)
inline

Definition at line 72 of file C4GamePadCon.h.

72 { player = plr; }
void C4GamePadOpener::StopRumble ( )

Definition at line 275 of file C4GamePadCon.cpp.

275 { }

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