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

Last change on this file was 38, checked in by Bayard Gildas, 6 years ago

Modif. pour ajour manette émulée (EmulatedController)

File size: 1.1 KB
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[7]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
[38]16#include <MetaDualShock3.h>
[7]17
[15]18namespace flair {
19namespace meta {
20class MetaDualShock3;
[7]21}
[15]22namespace filter {
23class JoyReference;
24}
25}
[7]26
27/*! \class MetaDualShock3_impl
28*
29* \brief Classe intégrant la manette DualShock3 et les consignes joystick
30*/
[38]31class MetaDualShock3_impl {
[15]32public:
33 MetaDualShock3_impl(flair::meta::MetaDualShock3 *self, std::string name);
34 ~MetaDualShock3_impl();
35 flair::filter::JoyReference *joy_ref;
[38]36 void UpdateFrom(const flair::core::io_data *data);
[7]37
[15]38private:
39 flair::meta::MetaDualShock3 *self;
40 bool joy_init;
41 bool wasRollTrimUpButtonPressed, wasRollTrimDownButtonPressed,
42 wasPitchTrimUpButtonPressed, wasPitchTrimDownButtonPressed;
[7]43};
44
45#endif // METADUALSHOCK3_IMPL_H
Note: See TracBrowser for help on using the repository browser.