You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
745 B

#ifndef INPUTS_H
#define INPUTS_H
/***************************************************
* Input abstraction header, makes life easier for *
* customizable inputs, controllers support, etc *
***************************************************/
class Inputs
{
// TODO : make it a safe thread singleton
public:
static bool bForward;
static bool bLeft;
static bool bRight;
static bool bBackward;
static bool bYawLeft;
static bool bYawRight;
};
// Initialization of static members
bool Inputs::bForward = false;
bool Inputs::bLeft = false;
bool Inputs::bRight = false;
bool Inputs::bBackward = false;
bool Inputs::bYawLeft = false;
bool Inputs::bYawRight = false;
#endif /* INPUTS_H */