mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-10-10 03:48: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) {
|
if (logical_max > field_max) {
|
||||||
log_info(
|
log_info(
|
||||||
"rawinput",
|
"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_cap_num,
|
||||||
value_caps.LogicalMax,
|
value_caps.LogicalMax,
|
||||||
field_max
|
field_max
|
||||||
|
|||||||
@@ -394,11 +394,10 @@ namespace nativetouch::inject {
|
|||||||
// preserve native registration and attach mouse injection to the touch window
|
// preserve native registration and attach mouse injection to the touch window
|
||||||
static BOOL WINAPI RegisterTouchWindowHook(HWND window, ULONG flags) {
|
static BOOL WINAPI RegisterTouchWindowHook(HWND window, ULONG flags) {
|
||||||
|
|
||||||
// for TDJ in windowed subscreen mode, the main game window is
|
// TDJ handles touches on the main window, including contacts that the
|
||||||
// target for delivering touch messages, not the subscreen
|
// dedicated subscreen forwards there
|
||||||
if (GRAPHICS_IIDX_WSUB && window != TDJ_SUBSCREEN_WINDOW) {
|
if (GRAPHICS_IIDX_WSUB && window != TDJ_SUBSCREEN_WINDOW) {
|
||||||
touch_delivery_window.store(window, std::memory_order_release);
|
touch_delivery_window.store(window, std::memory_order_release);
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// call original
|
// call original
|
||||||
|
|||||||
Reference in New Issue
Block a user