API documentation  2.0rc1
Public Member Functions | List of all members
client::Gamepad Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

Arrayget_axes ()
 
Arrayget_buttons ()
 
bool get_connected ()
 
double get_displayId ()
 
Stringget_hand ()
 
Arrayget_hapticActuators ()
 
Stringget_id ()
 
double get_index ()
 
Stringget_mapping ()
 
GamepadPoseget_pose ()
 
double get_timestamp ()
 
Gamepadget_prototype ()
 
void set_prototype (Gamepad *)
 
 Gamepad ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ Gamepad()

client::Gamepad::Gamepad ( )

Member Function Documentation

◆ get_axes()

Array* client::Gamepad::get_axes ( )

◆ get_buttons()

Array* client::Gamepad::get_buttons ( )

◆ get_connected()

bool client::Gamepad::get_connected ( )

◆ get_displayId()

double client::Gamepad::get_displayId ( )

◆ get_hand()

String* client::Gamepad::get_hand ( )

◆ get_hapticActuators()

Array* client::Gamepad::get_hapticActuators ( )

◆ get_id()

String* client::Gamepad::get_id ( )

◆ get_index()

double client::Gamepad::get_index ( )

◆ get_mapping()

String* client::Gamepad::get_mapping ( )

◆ get_pose()

GamepadPose* client::Gamepad::get_pose ( )

◆ get_prototype()

Gamepad* client::Gamepad::get_prototype ( )

◆ get_timestamp()

double client::Gamepad::get_timestamp ( )

◆ set_prototype()

void client::Gamepad::set_prototype ( Gamepad )