mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
input: ignore raw mouse double click when used as move handler
This commit is contained in:
parent
f948a80242
commit
c9a082614d
@ -1070,10 +1070,22 @@ void gs_frame::take_screenshot(std::vector<u8> data, u32 sshot_width, u32 sshot_
|
||||
|
||||
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
|
||||
if (g_cfg.io.move == move_handler::gun) return;
|
||||
case move_handler::gun:
|
||||
#endif
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (ev->button() == Qt::LeftButton)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user