mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
a09905792d
## Link to GitHub Issue, if one exists n/a ## Description of change When touch monitors send touch area size information (`TOUCHEVENTFMASK_CONTACTAREA` flag and `cxContact` / `cyContact` fields of `TOUCHINPUT` struct) from `GetTouchInputInfo`, IIDX gets confused and does some unexpected things when interacting with the subscreen. As a workaround, hook `GetTouchInputInfo` and clear out the flag & values. This is only done for IIDX AND when -iidxnativetouch is on. ## Testing Tested on a Dell touch monitor, simulating "bad" values.
6 lines
84 B
C++
6 lines
84 B
C++
#include <windows.h>
|
|
|
|
namespace nativetouchhook {
|
|
void hook(HMODULE module);
|
|
}
|
|
|