mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
input: ignore raw mouse double click when used as move handler
This commit is contained in:
parent
f948a80242
commit
c9a082614d
1 changed files with 14 additions and 2 deletions
|
@ -1070,10 +1070,22 @@ void gs_frame::take_screenshot(std::vector<u8> data, u32 sshot_width, u32 sshot_
|
||||||
|
|
||||||
void gs_frame::mouseDoubleClickEvent(QMouseEvent* ev)
|
void gs_frame::mouseDoubleClickEvent(QMouseEvent* ev)
|
||||||
{
|
{
|
||||||
if (m_disable_mouse || g_cfg.io.move == move_handler::mouse) return;
|
if (m_disable_mouse)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (g_cfg.io.move)
|
||||||
|
{
|
||||||
|
case move_handler::mouse:
|
||||||
|
case move_handler::raw_mouse:
|
||||||
#ifdef HAVE_LIBEVDEV
|
#ifdef HAVE_LIBEVDEV
|
||||||
if (g_cfg.io.move == move_handler::gun) return;
|
case move_handler::gun:
|
||||||
#endif
|
#endif
|
||||||
|
return;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (ev->button() == Qt::LeftButton)
|
if (ev->button() == Qt::LeftButton)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue