windows mouse left/right buttons should be independent, not XOR
This commit is contained in:
parent
cddb8af1a2
commit
01c3f40f1d
|
@ -1224,7 +1224,7 @@ void GetMouseData(uint32 (&md)[3])
|
||||||
}
|
}
|
||||||
md[0] += VNSCLIP;
|
md[0] += VNSCLIP;
|
||||||
md[1] += FSettings.FirstSLine;
|
md[1] += FSettings.FirstSLine;
|
||||||
md[2] = ((mouseb == MK_LBUTTON) ? 1 : 0) | (( mouseb == MK_RBUTTON ) ? 2 : 0);
|
md[2] = ((mouseb & MK_LBUTTON) ? 1 : 0) | (( mouseb & MK_RBUTTON ) ? 2 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetMouseRelative(int32 (&md)[3])
|
void GetMouseRelative(int32 (&md)[3])
|
||||||
|
|
Loading…
Reference in New Issue