From 75360443eb879b49a72c11b2a3d2d299ca61f9d7 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Fri, 28 Sep 2012 13:40:18 +0000 Subject: Modified sendHeadposeToGame, so it also sends raw data. Unified the code by adding the Dll class to the protocols and moving the dialog to a separate source. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@173 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- bin/Settings/ArmA.ini | 4 +-- bin/Settings/GlovePIE.ini | 10 ++++++- bin/Settings/SimConnect.ini | 67 +++++++++++++++++++++++++++++++++++---------- 3 files changed, 64 insertions(+), 17 deletions(-) (limited to 'bin') diff --git a/bin/Settings/ArmA.ini b/bin/Settings/ArmA.ini index 2fdcf98c..350c6ec7 100644 --- a/bin/Settings/ArmA.ini +++ b/bin/Settings/ArmA.ini @@ -13,7 +13,7 @@ invertRoll=true invertX=true invertY=false invertZ=false -useEWMA=true +useEWMA=false redYaw=60 redPitch=60 redRoll=60 @@ -89,7 +89,7 @@ Enable_ReverseAxis=false RA_Yaw=40 RA_ZPos=0 RA_ToZPos=100 -MouseKey_Center=0 +MouseKey_Center=3 MouseKey_GameZero=0 MouseKey_StartStop=0 MouseKey_Inhibit=0 diff --git a/bin/Settings/GlovePIE.ini b/bin/Settings/GlovePIE.ini index 39c0d818..317b030a 100644 --- a/bin/Settings/GlovePIE.ini +++ b/bin/Settings/GlovePIE.ini @@ -22,7 +22,8 @@ redY=75 redZ=75 [GameProtocol] -Selection=3 +Selection=6 +DLL=FTNoIR_Protocol_PPJOY.dll [PPJoy] Selection=1 @@ -46,3 +47,10 @@ Inhibit_Roll=false Inhibit_X=false Inhibit_Y=false Inhibit_Z=false + +[TrackerSource] +Selection=2 +DLL=FTNoIR_Tracker_SM.dll + +[Filter] +DLL=FTNoIR_Filter_Accela.dll diff --git a/bin/Settings/SimConnect.ini b/bin/Settings/SimConnect.ini index ae948471..6b2b3e79 100644 --- a/bin/Settings/SimConnect.ini +++ b/bin/Settings/SimConnect.ini @@ -1,5 +1,5 @@ [Tracking] -Smooth=5 +Smooth=1 invertYaw=false invertPitch=false invertRoll=false @@ -18,11 +18,11 @@ powCurve=12 maxSmooth=70 [GameProtocol] -Selection=5 +Selection=7 DLL=FTNoIR_Protocol_SC.dll [TrackerSource] -Selection=0 +Selection=2 DLL=FTNoIR_Tracker_SM.dll [Curves] @@ -72,6 +72,18 @@ Inhibit_X=false Inhibit_Y=false Inhibit_Z=false SetEngineStop=true +MouseKey_Center=3 +MouseKey_GameZero=0 +Keycode_GameZero=0 +Shift_GameZero=false +Ctrl_GameZero=false +Alt_GameZero=false +MouseKey_StartStop=0 +MouseKey_Inhibit=0 +Enable_ReverseAxis=false +RA_Yaw=40 +RA_ZPos=-20 +RA_ToZPos=50 [FTN] LocalPCOnly=true @@ -90,21 +102,25 @@ IP-4=1 PortNumber=5550 [Curves-Accela-Scaling-Rotation] -point-count=1 -point-0-x=4 -point-0-y=8 -point-1-x=3.03917525773196 -point-1-y=5.40377358490566 +point-count=4 +point-0-x=0.916230366492147 +point-0-y=2.73913043478261 +point-1-x=2.13089005235602 +point-1-y=3.26086956521739 +point-2-x=3.54450261780105 +point-2-y=4.21739130434783 +point-3-x=4 +point-3-y=5.17391304347826 [Curves-Accela-Scaling-Translation] point-count=2 -point-0-x=2 -point-0-y=4 +point-0-x=1.7434554973822 +point-0-y=3.73913043478261 point-1-x=4 point-1-y=8 [Filter] -DLL=FTNoIR_Filter_Accela.dll +DLL=FTNoIR_Filter_EWMA2.dll Selection=FTNoIR_Filter_Accela.dll [Curves-Yaw] @@ -122,13 +138,36 @@ point-1-x=50 point-1-y=180 [Curves-PitchDown] +point-count=3 +point-0-x=10 +point-0-y=18 +point-1-x=50 +point-1-y=28 +point-2-x=50 +point-2-y=180 + +[Curves-Roll] point-count=2 -point-0-x=49.75 -point-0-y=79 +point-0-x=25 +point-0-y=90 point-1-x=50 point-1-y=180 -[Curves-Roll] +[Curves-X] +point-count=2 +point-0-x=25 +point-0-y=90 +point-1-x=50 +point-1-y=180 + +[Curves-Y] +point-count=2 +point-0-x=25 +point-0-y=90 +point-1-x=50 +point-1-y=180 + +[Curves-Z] point-count=2 point-0-x=25 point-0-y=90 -- cgit v1.2.3