mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-21 02:17:37 +02:00
- renamed synrgyhk.dll to synwinhk.dll and moved lib code to separate folder.
- removed game device support (fallen into significant disrepair).
This commit is contained in:
parent
289f1ff71f
commit
dab838ed14
77 changed files with 91 additions and 2859 deletions
|
@ -81,14 +81,6 @@ CClient::CClient(IEventQueue* events,
|
|||
getEventTarget(),
|
||||
new TMethodEventJob<CClient>(this,
|
||||
&CClient::handleResume));
|
||||
m_events->adoptHandler(m_events->forISecondaryScreen().gameDeviceTimingResp(),
|
||||
getEventTarget(),
|
||||
new TMethodEventJob<CClient>(this,
|
||||
&CClient::handleGameDeviceTimingResp));
|
||||
m_events->adoptHandler(m_events->forISecondaryScreen().gameDeviceFeedback(),
|
||||
getEventTarget(),
|
||||
new TMethodEventJob<CClient>(this,
|
||||
&CClient::handleGameDeviceFeedback));
|
||||
m_events->adoptHandler(m_events->forIScreen().fileChunkSending(),
|
||||
this,
|
||||
new TMethodEventJob<CClient>(this,
|
||||
|
@ -363,30 +355,6 @@ CClient::setOptions(const COptionsList& options)
|
|||
m_screen->setOptions(options);
|
||||
}
|
||||
|
||||
void
|
||||
CClient::gameDeviceButtons(GameDeviceID id, GameDeviceButton buttons)
|
||||
{
|
||||
m_screen->gameDeviceButtons(id, buttons);
|
||||
}
|
||||
|
||||
void
|
||||
CClient::gameDeviceSticks(GameDeviceID id, SInt16 x1, SInt16 y1, SInt16 x2, SInt16 y2)
|
||||
{
|
||||
m_screen->gameDeviceSticks(id, x1, y1, x2, y2);
|
||||
}
|
||||
|
||||
void
|
||||
CClient::gameDeviceTriggers(GameDeviceID id, UInt8 t1, UInt8 t2)
|
||||
{
|
||||
m_screen->gameDeviceTriggers(id, t1, t2);
|
||||
}
|
||||
|
||||
void
|
||||
CClient::gameDeviceTimingReq()
|
||||
{
|
||||
m_screen->gameDeviceTimingReq();
|
||||
}
|
||||
|
||||
CString
|
||||
CClient::getName() const
|
||||
{
|
||||
|
@ -732,24 +700,6 @@ CClient::handleResume(const CEvent&, void*)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
CClient::handleGameDeviceTimingResp(const CEvent& event, void*)
|
||||
{
|
||||
IPlatformScreen::CGameDeviceTimingRespInfo* info =
|
||||
reinterpret_cast<IPlatformScreen::CGameDeviceTimingRespInfo*>(event.getData());
|
||||
|
||||
m_server->onGameDeviceTimingResp(info->m_freq);
|
||||
}
|
||||
|
||||
void
|
||||
CClient::handleGameDeviceFeedback(const CEvent& event, void*)
|
||||
{
|
||||
IPlatformScreen::CGameDeviceFeedbackInfo* info =
|
||||
reinterpret_cast<IPlatformScreen::CGameDeviceFeedbackInfo*>(event.getData());
|
||||
|
||||
m_server->onGameDeviceFeedback(info->m_id, info->m_m1, info->m_m2);
|
||||
}
|
||||
|
||||
void
|
||||
CClient::handleFileChunkSending(const CEvent& event, void*)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue