mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-11-30 02:56:42 -08:00
touch: native touch hooks to honor Invert Touch option (#588)
## Link to GitHub Issue or related Pull Request, if one exists For #587 ## Description of change `Invert Touch` option is now honored by the IIDX/SDVX touch handler.
This commit is contained in:
1 parent
63a0acac24
commit
73a69b2e8f
2 files changed
+6
-2
No files matched your search
@@ -92,6 +92,10 @@ namespace nativetouchhook {
|
||||
}
|
||||
}
|
||||
|
||||
if (rawinput::touch::INVERTED) {
|
||||
flip_values = !flip_values;
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < cInputs; i++) {
|
||||
PTOUCHINPUT point = &pInputs[i];
|
||||
|
||||
|
||||
Reference in new issue
Block a user