Changeset 15 in flair-src for trunk/lib/FlairMeta/src/unexported
- Timestamp:
- Apr 8, 2016, 3:40:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/unexported/MetaDualShock3_impl.h
r10 r15 16 16 #include <IODevice.h> 17 17 18 namespace flair 19 { 20 namespace meta 21 { 22 class MetaDualShock3; 23 } 24 namespace filter 25 { 26 class JoyReference; 27 } 18 namespace flair { 19 namespace meta { 20 class MetaDualShock3; 21 } 22 namespace filter { 23 class JoyReference; 24 } 28 25 } 29 26 … … 32 29 * \brief Classe intégrant la manette DualShock3 et les consignes joystick 33 30 */ 34 class MetaDualShock3_impl: public flair::core::IODevice 35 { 36 public: 37 MetaDualShock3_impl(flair::meta::MetaDualShock3* self,std::string name); 38 ~MetaDualShock3_impl(); 39 flair::filter::JoyReference *joy_ref; 31 class MetaDualShock3_impl : public flair::core::IODevice { 32 public: 33 MetaDualShock3_impl(flair::meta::MetaDualShock3 *self, std::string name); 34 ~MetaDualShock3_impl(); 35 flair::filter::JoyReference *joy_ref; 40 36 41 private: 42 void UpdateFrom(const flair::core::io_data *data); 43 flair::meta::MetaDualShock3* self; 44 bool joy_init; 45 bool wasRollTrimUpButtonPressed,wasRollTrimDownButtonPressed,wasPitchTrimUpButtonPressed,wasPitchTrimDownButtonPressed; 37 private: 38 void UpdateFrom(const flair::core::io_data *data); 39 flair::meta::MetaDualShock3 *self; 40 bool joy_init; 41 bool wasRollTrimUpButtonPressed, wasRollTrimDownButtonPressed, 42 wasPitchTrimUpButtonPressed, wasPitchTrimDownButtonPressed; 46 43 }; 47 44
Note:
See TracChangeset
for help on using the changeset viewer.