source: flair-src/trunk/lib/FlairMeta/src/unexported/MetaDualShock3_impl.h @ 7

Last change on this file since 7 was 7, checked in by Sanahuja Guillaume, 5 years ago

filter and meta

File size: 1.1 KB
Line 
1/*!
2 * \file MetaDualShock3_impl.h
3 * \brief Classe intégrant la manette DualShock3 et les consignes joystick
4 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
5 * \date 2014/01/14
6 * \version 3.4
7 */
8
9#ifndef METADUALSHOCK3_IMPL_H
10#define METADUALSHOCK3_IMPL_H
11
12#include <IODevice.h>
13
14namespace flair
15{
16    namespace meta
17    {
18        class MetaDualShock3;
19    }
20    namespace filter
21    {
22        class JoyReference;
23    }
24}
25
26/*! \class MetaDualShock3_impl
27*
28* \brief Classe intégrant la manette DualShock3 et les consignes joystick
29*/
30class MetaDualShock3_impl: public flair::core::IODevice
31{
32    public:
33        MetaDualShock3_impl(flair::meta::MetaDualShock3* self,std::string name);
34        ~MetaDualShock3_impl();
35        flair::filter::JoyReference *joy_ref;
36
37    private:
38        void UpdateFrom(const flair::core::io_data *data);
39        flair::meta::MetaDualShock3* self;
40        bool joy_init;
41        bool wasRollTrimUpButtonPressed,wasRollTrimDownButtonPressed,wasPitchTrimUpButtonPressed,wasPitchTrimDownButtonPressed;
42};
43
44#endif // METADUALSHOCK3_IMPL_H
Note: See TracBrowser for help on using the repository browser.