Renaming (2)

This commit is contained in:
Nekotekina 2014-08-08 22:25:45 +04:00
parent 7f5ae1cdc2
commit 231de946a0
3 changed files with 19 additions and 2 deletions

17
rpcs3/Emu/Event.h Normal file
View File

@ -0,0 +1,17 @@
#pragma once
#include "Emu/SysCalls/lv2/sys_event.h"
class EventManager
{
std::mutex m_lock;
std::unordered_map<u64, EventQueue*> key_map;
public:
void Init();
void Clear();
bool CheckKey(u64 key);
bool RegisterKey(EventQueue* data, u64 key);
bool GetEventQueue(u64 key, EventQueue*& data);
bool UnregisterKey(u64 key);
bool SendEvent(u64 key, u64 source, u64 d1, u64 d2, u64 d3);
};

View File

@ -271,7 +271,7 @@
<ClInclude Include="Emu\CPU\CPUThread.h" />
<ClInclude Include="Emu\CPU\CPUThreadManager.h" />
<ClInclude Include="Emu\DbgCommand.h" />
<ClInclude Include="Emu\event.h" />
<ClInclude Include="Emu\Event.h" />
<ClInclude Include="Emu\FS\VFS.h" />
<ClInclude Include="Emu\FS\vfsDevice.h" />
<ClInclude Include="Emu\FS\vfsDeviceLocalFile.h" />

View File

@ -967,7 +967,7 @@
<ClInclude Include="Emu\Io\XInput\XInputPadHandler.h">
<Filter>Emu\Io\XInput</Filter>
</ClInclude>
<ClInclude Include="Emu\event.h">
<ClInclude Include="Emu\Event.h">
<Filter>Emu\SysCalls</Filter>
</ClInclude>
<ClInclude Include="..\Utilities\SSemaphore.h">