source: flair-src/branches/sanscv/lib/FlairMeta/src/unexported/MetaDualShock3_impl.h@ 413

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

removing opencv dependency

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