nipkownix / re4_tweaks

Fixes and tweaks for the "UHD" port of Resident Evil 4
zlib License
340 stars 32 forks source link

mouse turing sometimes not working #599

Open Lioncky opened 5 months ago

Lioncky commented 5 months ago

Validation

Describe your issue here (drag+drop ZIP to attach it)

under investigation

Lioncky commented 5 months ago

pInput->raw_mouse_delta_x() == 0 ?

Lioncky commented 5 months ago
                        // raw_input_window->second == 0x768 
            if (raw_input_window == s_raw_input_windows.end() || (raw_input_window->second & RIDEV_NOLEGACY) == 0)
                break; // Input is already handled (since legacy mouse messages are enabled), so nothing to do here
Lioncky commented 5 months ago

Result: This situation was caused by play with unfull-window and moved the window, the message will be banned. I don't known more about 'input.cpp', so this just for reference

   if (raw_input_window == s_raw_input_windows.end())
       break; // we don't need to boost here, message is message

// tested: when 'raw_input_window->second & RIDEV_NOLEGACY' // the speed needs to double to be the same as before