rpcsx/rpcs3/Emu/Io/Null/NullMouseHandler.h
Alexandro Sánchez Bach 1024a7c7c4 Mouse support added
*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)
2013-09-14 20:20:57 +02:00

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();
}
};