diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-06-04 12:37:46 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-06-04 12:37:46 +0000 |
commit | 010d82e9392bd2fb5cafe6fbae03c9cdc301a2f8 (patch) | |
tree | ced3d8e7139cdc2b1b0871731cf82ab69e7a801b /FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h | |
parent | 555a75bf6740d66857f8b8dee1b30a0a10d8f2db (diff) |
Eagle Dynamics API implemented, added some 'nice to haves'.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@87 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h')
-rw-r--r-- | FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h b/FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h index b53fb3e4..ce267d87 100644 --- a/FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h +++ b/FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.h @@ -54,7 +54,7 @@ enum FTN_AngleName { enum FTN_MouseStyle {
FTN_ABSOLUTE = 0,
- FTN_RELATIVE = 2
+ FTN_RELATIVE = 1
};
@@ -69,6 +69,7 @@ public: bool checkServerInstallationOK( HANDLE handle );
void sendHeadposeToGame( T6DOF *headpose );
+ void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
private:
HANDLE h;
@@ -86,6 +87,8 @@ private: 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();
|