Added ingame option to invert mouse wheel direction (by Iop)

o Howto get synaptic touchpad working with 1.13: http://www.bears-pit.com/board/ubbthreads.php/topics/314276/Synaptic_touchpad_with_JA2_v1_.html#Post314276

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5792 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-01-19 20:08:11 +00:00
parent 56e08dbeae
commit f8531461d3
13 changed files with 26 additions and 2 deletions
+1
View File
@@ -6822,6 +6822,7 @@ void QueryTBWheel( UINT32 *puiNewEvent )
INT32 usMapPos=0;
UINT8 bID;
gViewportRegion.WheelState = gViewportRegion.WheelState * ( gGameSettings.fOptions[TOPTION_INVERT_WHEEL] ? -1 : 1 );
// stub
if ( gViewportRegion.uiFlags & MSYS_MOUSE_IN_AREA )
{