mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
added an if. defaults on anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@264 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
19e99274fd
commit
9cf99374db
1 changed files with 2 additions and 1 deletions
|
@ -696,7 +696,8 @@ unsigned long __stdcall IN_SerialMSIntelliRun(void *param)
|
|||
mouse->delta[0] += (signed char)(((code[0] & 0x03) << 6) | (code[1]/* & 0x3F*/));
|
||||
mouse->delta[1] += (signed char)(((code[0] & 0x0C) << 4) | (code[2]/* & 0x3F*/));
|
||||
|
||||
mouse->wheeldelta += (signed char)((code[3] & 0x0f)<<4)/16;
|
||||
if (m_forcewheel.value)
|
||||
mouse->wheeldelta += (signed char)((code[3] & 0x0f)<<4)/16;
|
||||
|
||||
total=0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue