mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-09 10:10:01 +01:00
*Implemented 'cellMouse*' functions from 'sys_io' module, which are part of the libmouse library. * Added corresponding entries in the 'Config > Settings' menu to change the handler of the mouse. Supported handlers: Windows, Null. * cellGifDec: Fixed some errors and added support for RGBA color. (Remember: The mouse support is very experimental)
26 lines
613 B
C++
26 lines
613 B
C++
#pragma once
|
|
|
|
#include "MouseHandler.h"
|
|
|
|
class MouseManager //: public wxWindow
|
|
{
|
|
bool m_inited;
|
|
MouseHandlerBase* m_mouse_handler;
|
|
|
|
public:
|
|
MouseManager();
|
|
~MouseManager();
|
|
|
|
void Init(const u32 max_connect);
|
|
void Close();
|
|
|
|
Array<Mouse>& GetMice() { return m_mouse_handler->GetMice(); }
|
|
MouseInfo& GetInfo() { return m_mouse_handler->GetInfo(); }
|
|
CellMouseData& GetData(const u32 mouse) { return m_mouse_handler->GetData(mouse); }
|
|
CellMouseRawData& GetRawData(const u32 mouse) { return m_mouse_handler->GetRawData(mouse); }
|
|
|
|
bool IsInited() { return m_inited; }
|
|
|
|
//private:
|
|
//DECLARE_EVENT_TABLE();
|
|
}; |