mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user