| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
#ifndef _GADGET_INPUT_BASE_TYPES_H_ |
|---|
| 34 |
#define _GADGET_INPUT_BASE_TYPES_H_ |
|---|
| 35 |
|
|---|
| 36 |
#include <gadget/gadgetConfig.h> |
|---|
| 37 |
#include <gadget/Type/InputMixer.h> |
|---|
| 38 |
|
|---|
| 39 |
namespace gadget |
|---|
| 40 |
{ |
|---|
| 41 |
|
|---|
| 42 |
class Input; |
|---|
| 43 |
class Digital; |
|---|
| 44 |
class Analog; |
|---|
| 45 |
class Position; |
|---|
| 46 |
class KeyboardMouse; |
|---|
| 47 |
class String; |
|---|
| 48 |
class Command; |
|---|
| 49 |
class Glove; |
|---|
| 50 |
class SimInput; |
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
typedef InputMixer< Input, Digital > input_digital_t; |
|---|
| 63 |
typedef InputMixer< Input, Analog > input_analog_t; |
|---|
| 64 |
typedef InputMixer< Input, Position > input_position_t; |
|---|
| 65 |
typedef InputMixer< Input, KeyboardMouse > input_keyboard_t; |
|---|
| 66 |
typedef InputMixer< Input, String > input_string_t; |
|---|
| 67 |
typedef InputMixer< Input, Command > input_command_t; |
|---|
| 68 |
typedef InputMixer< Input, Glove > input_glove_t; |
|---|
| 69 |
typedef InputMixer< InputMixer<Input, Digital>, Analog> input_digital_analog_t; |
|---|
| 70 |
typedef InputMixer< InputMixer<Input, Digital>, Position> input_digital_position_t; |
|---|
| 71 |
typedef InputMixer< InputMixer<Input, Analog>, Position> input_analog_position_t; |
|---|
| 72 |
typedef InputMixer< InputMixer<Input, Glove>, Digital> input_glove_digital_t; |
|---|
| 73 |
typedef InputMixer< InputMixer< InputMixer< InputMixer<Input, Glove>, Digital>, Analog>, Position> input_glove_digital_analog_position_t; |
|---|
| 74 |
typedef InputMixer< InputMixer< InputMixer<Input, Digital>, Analog>, Position> input_digital_analog_position_t; |
|---|
| 75 |
typedef InputMixer< InputMixer<SimInput, Input>, Position> siminput_input_position; |
|---|
| 76 |
typedef InputMixer< InputMixer<SimInput, Input>, Digital> siminput_input_digital; |
|---|
| 77 |
typedef InputMixer< InputMixer<SimInput, Input>, Analog> siminput_input_analog; |
|---|
| 78 |
typedef InputMixer< InputMixer< InputMixer<SimInput,Input>, Digital>, Glove> siminput_input_digital_glove_t; |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
} |
|---|
| 82 |
|
|---|
| 83 |
#endif |
|---|