nipkownix / re4_tweaks

Fixes and tweaks for the "UHD" port of Resident Evil 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mouse turing sometimes not working

Lioncky opened this issue · comments

Validation

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

under investigation

pInput->raw_mouse_delta_x() == 0 ?

                        // 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

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