Remove filter of fast mouse mouve
This commit is contained in:
parent
596194820e
commit
2951f7f5cf
1 changed files with 2 additions and 0 deletions
|
@ -910,8 +910,10 @@ void handle_events (void)
|
|||
else
|
||||
{
|
||||
int mouseScale = currprefs.input_joymouse_multiplier / 2;
|
||||
#ifndef RASPBERRY
|
||||
if(rEvent.motion.xrel > 20 || rEvent.motion.xrel < -20 || rEvent.motion.yrel > 20 || rEvent.motion.yrel < -20)
|
||||
break;
|
||||
#endif
|
||||
lastmx += rEvent.motion.xrel * mouseScale;
|
||||
lastmy += rEvent.motion.yrel * mouseScale;
|
||||
if(rEvent.motion.x == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue