Remove the dummied-out Wii U controller backend

This commit is contained in:
Clownacy 2020-10-14 20:32:38 +01:00
parent 6e53250a20
commit 28ea9054e7
2 changed files with 1 additions and 25 deletions

View file

@ -401,7 +401,7 @@ elseif(BACKEND_PLATFORM MATCHES "GLFW3")
) )
elseif(BACKEND_PLATFORM MATCHES "WiiU") elseif(BACKEND_PLATFORM MATCHES "WiiU")
target_sources(CSE2 PRIVATE target_sources(CSE2 PRIVATE
"src/Backends/Controller/WiiU.cpp" "src/Backends/Controller/Null.cpp"
"src/Backends/Platform/WiiU.cpp" "src/Backends/Platform/WiiU.cpp"
) )
elseif(BACKEND_PLATFORM MATCHES "3DS") elseif(BACKEND_PLATFORM MATCHES "3DS")

View file

@ -1,24 +0,0 @@
#include "../Controller.h"
// Vanilla Cave Story's controller system is ill-suited for console ports,
// so we emulate a keyboard instead (see `Misc.cpp`).
bool ControllerBackend_Init(void)
{
return false;
}
void ControllerBackend_Deinit(void)
{
}
bool ControllerBackend_GetJoystickStatus(bool **buttons, unsigned int *button_count, short **axes, unsigned int *axis_count)
{
(void)buttons;
(void)button_count;
(void)axes;
(void)axis_count;
return false;
}