Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RPCSX/rpcsx
/ center_cursor
Method
center_cursor
rpcs3/Input/raw_mouse_handler.cpp:132–136 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
130
}
131
132
void raw_mouse::center_cursor()
133
{
134
m_pos_x = m_window_width / 2;
135
m_pos_y = m_window_height / 2;
136
}
137
138
#ifdef _WIN32
139
void raw_mouse::update_values(const RAWMOUSE& state)
Callers
1
update_devices
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected