Horizontal scroll should not cause K_MWHEELDOWN key press
This commit is contained in:
parent
2292bf5bb2
commit
5082548bf5
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ static void IN_ProcessEvents( void )
|
||||||
Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qtrue, 0, NULL );
|
Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qtrue, 0, NULL );
|
||||||
Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qfalse, 0, NULL );
|
Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qfalse, 0, NULL );
|
||||||
}
|
}
|
||||||
else
|
else if( e.wheel.y < 0 )
|
||||||
{
|
{
|
||||||
Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qtrue, 0, NULL );
|
Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qtrue, 0, NULL );
|
||||||
Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qfalse, 0, NULL );
|
Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qfalse, 0, NULL );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue