Rebel Fork Framework
Urho3D::Detail::ControllerButtonMapping Struct Reference

Helper class to translate controller buttons. More...

#include <Urho3D/Input/InputMap.h>

Public Member Functions

 ControllerButtonMapping (ControllerButton controllerButton)
 Construct.
 
 ControllerButtonMapping (unsigned buttonIndex)
 Construct.
 
ControllerButton GetControllerButton () const
 Get controller button.
 
unsigned GetGenericButton () const
 Get generic button.
 
void SerializeInBlock (Archive &archive)
 Serialize content from/to archive. May throw ArchiveException.
 

Public Attributes

bool controller_ {}
 
unsigned button_ {}
 

Detailed Description

Helper class to translate controller buttons.


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