mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Update mouse lock logic
- fix headers - update cursor whenever the mouse is moved - unify cursor logic - move m_mouse_hide_and_lock logic to handle_cursor (toggle_fullscreen is the trigger, not the handler) - disable mouse lock and idle timer if the window is inactive
This commit is contained in:
parent
ae0e454fc2
commit
1dac01498c
4 changed files with 72 additions and 32 deletions
|
|
@ -1,8 +1,9 @@
|
|||
#include "basic_mouse_handler.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QApplication>
|
||||
#include <QCursor>
|
||||
|
||||
#include "basic_mouse_handler.h"
|
||||
#include "rpcs3qt/gs_frame.h"
|
||||
|
||||
LOG_CHANNEL(input_log, "Input");
|
||||
|
||||
void basic_mouse_handler::Init(const u32 max_connect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue