mirror of https://github.com/PCSX2/pcsx2.git
PAD: fix macos build
This commit is contained in:
parent
c6d6865bb9
commit
d1c6b6b789
|
@ -974,6 +974,8 @@ set(Common
|
|||
${pcsx2SPU2Headers}
|
||||
${pcsx2DEV9Sources}
|
||||
${pcsx2DEV9Headers}
|
||||
${pcsx2PADHeaders}
|
||||
${pcsx2PADSources}
|
||||
${pcsx2DebugToolsSources}
|
||||
${pcsx2GuiSources}
|
||||
${pcsx2GuiResources}
|
||||
|
@ -1002,8 +1004,6 @@ if(Linux)
|
|||
${pcsx2LinuxHeaders}
|
||||
${pcsx2USBSources}
|
||||
${pcsx2USBHeaders}
|
||||
${pcsx2PADHeaders}
|
||||
${pcsx2PADSources}
|
||||
)
|
||||
|
||||
set(Platform_Libs
|
||||
|
|
|
@ -273,8 +273,12 @@ keyEvent* PADkeyEvent()
|
|||
return &s_event;
|
||||
}
|
||||
s_event = g_ev_fifo.dequeue();
|
||||
|
||||
//TODO: fix me for macOS
|
||||
#ifdef __linux__
|
||||
AnalyzeKeyEvent(s_event);
|
||||
// PAD_LOG("Returning Event. Event Type: %d, Key: %d\n", s_event.evt, s_event.key);
|
||||
#endif
|
||||
return &s_event;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue