mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-02 14:50:05 +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)
24 lines
367 B
C++
24 lines
367 B
C++
#pragma once
|
|
|
|
#include "Emu/Io/MouseHandler.h"
|
|
|
|
class NullMouseHandler : public MouseHandlerBase
|
|
{
|
|
public:
|
|
NullMouseHandler()
|
|
{
|
|
}
|
|
|
|
virtual void Init(const u32 max_connect)
|
|
{
|
|
memset(&m_info, 0, sizeof(MouseInfo));
|
|
m_info.max_connect = max_connect;
|
|
m_mice.Clear();
|
|
}
|
|
|
|
virtual void Close()
|
|
{
|
|
memset(&m_info, 0, sizeof(MouseInfo));
|
|
m_mice.Clear();
|
|
}
|
|
}; |