mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Modules/cellGem: Implement pos, quat and handle_pos in Gemstate for mouse.
Modules/cellGem: Fix name for gem_image_state. Modules/cellGem: Implement projectiion(x/y) in gem_image_State for mouse. Modules/cellGem: Add cross, triangle, circle and start with use middle click for mouse. Modules/cellGem: Refactor global code. Modules/cellGem: fix some warning with initializing value.
This commit is contained in:
parent
ac2b0c9752
commit
af8ebc76e2
5 changed files with 179 additions and 121 deletions
|
@ -100,7 +100,15 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
{
|
||||
case mouse_handler::null:
|
||||
{
|
||||
g_fxo->init<MouseHandlerBase, NullMouseHandler>();
|
||||
if (g_cfg.io.move == move_handler::mouse)
|
||||
{
|
||||
basic_mouse_handler* ret = g_fxo->init<MouseHandlerBase, basic_mouse_handler>();
|
||||
ret->moveToThread(get_thread());
|
||||
ret->SetTargetWindow(m_game_window);
|
||||
}
|
||||
else
|
||||
g_fxo->init<MouseHandlerBase, NullMouseHandler>();
|
||||
|
||||
break;
|
||||
}
|
||||
case mouse_handler::basic:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue