mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-10-07 18:38:57 -07:00
Compare commits
2 Commits
1ec7528dac
...
26-08-03
| Author | SHA1 | Date | |
|---|---|---|---|
| f955ab984c | |||
| 435b9ce9aa |
@@ -660,7 +660,8 @@ void rawinput::RawInputManager::devices_scan_rawinput(RAWINPUTDEVICELIST *device
|
||||
if (logical_max > field_max) {
|
||||
log_info(
|
||||
"rawinput",
|
||||
"value cap {} LogicalMax exceeds bit width, fixing it up: {} -> {}",
|
||||
"device {}: value cap {} LogicalMax exceeds bit width, fixing it up: {} -> {}",
|
||||
new_device.name,
|
||||
value_cap_num,
|
||||
value_caps.LogicalMax,
|
||||
field_max
|
||||
|
||||
@@ -394,11 +394,10 @@ namespace nativetouch::inject {
|
||||
// preserve native registration and attach mouse injection to the touch window
|
||||
static BOOL WINAPI RegisterTouchWindowHook(HWND window, ULONG flags) {
|
||||
|
||||
// for TDJ in windowed subscreen mode, the main game window is
|
||||
// target for delivering touch messages, not the subscreen
|
||||
// TDJ handles touches on the main window, including contacts that the
|
||||
// dedicated subscreen forwards there
|
||||
if (GRAPHICS_IIDX_WSUB && window != TDJ_SUBSCREEN_WINDOW) {
|
||||
touch_delivery_window.store(window, std::memory_order_release);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// call original
|
||||
|
||||
Reference in New Issue
Block a user