mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10: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:
@@ -1736,6 +1736,7 @@ void QueryRTWheels( UINT32 *puiNewEvent )
|
||||
INT32 sMapPos=0;
|
||||
UINT8 bID;
|
||||
|
||||
gViewportRegion.WheelState = gViewportRegion.WheelState * ( gGameSettings.fOptions[TOPTION_INVERT_WHEEL] ? -1 : 1 );
|
||||
if ( gViewportRegion.uiFlags & MSYS_MOUSE_IN_AREA )
|
||||
{
|
||||
if (!GetMouseMapPos( &sMapPos ) )
|
||||
|
||||
Reference in New Issue
Block a user