diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-24 23:49:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-24 23:49:57 +0200 |
commit | 101b7c956a764cec69b84bb86635822bac3fc01c (patch) | |
tree | 9c40cdde0bf5de3c542b886ad04d1ff2aa6589a0 /ftnoir_protocol_mouse/ftnoir_protocol_mouse.h | |
parent | 5b6c1488f28871bcc8e565b60a4a488edc198b59 (diff) |
Fix mouse protocol, remove most of the options for simplicity's sake
Diffstat (limited to 'ftnoir_protocol_mouse/ftnoir_protocol_mouse.h')
-rw-r--r-- | ftnoir_protocol_mouse/ftnoir_protocol_mouse.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h index d5c614fa..14719540 100644 --- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h +++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h @@ -46,20 +46,14 @@ #define MOUSE_AXIS_MAX 65535
enum FTN_AngleName {
- FTN_PITCH = RX,
- FTN_YAW = TY,
+ FTN_YAW = RX,
+ FTN_PITCH = RY,
FTN_ROLL = RZ,
FTN_X = TX,
FTN_Y = TY,
FTN_Z = TZ
};
-enum FTN_MouseStyle {
- FTN_ABSOLUTE = 0,
- FTN_RELATIVE = 1
-};
-
-
class FTNoIR_Protocol : public IProtocol
{
public:
@@ -75,18 +69,6 @@ private: FTN_AngleName Mouse_X; // Map one of the 6DOF's to this Mouse direction
FTN_AngleName Mouse_Y;
FTN_AngleName Mouse_Wheel;
- FTN_MouseStyle Mouse_Style; // AutoPan, Absolute or Relative?
- bool useVirtualDesk; // Extend the mouse-range beyond the standard
- float prev_fMouse_X; // The previous value(s)
- float mouse_X_factor; // Sensitivity factor
- float prev_fMouse_Y;
- float mouse_Y_factor; // Sensitivity factor
- float prev_fMouse_Wheel;
- float mouse_Wheel_factor; // Sensitivity factor
-
- int frame_delay; // Number of frames to delay SendInput (too fast, too furious?)
-
- long scale2AnalogLimits( float x, float min_x, float max_x );
void loadSettings();
QString getGameName() {
return "Mouse tracker";
|