ref: 28ea9054e7d5716dd62f454c58b59a4e1c432b72
parent: 6e53250a2022216b383ea321af3c143c5fb13e5e
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Oct 14 16:32:38 EDT 2020
Remove the dummied-out Wii U controller backend
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -401,7 +401,7 @@
)
elseif(BACKEND_PLATFORM MATCHES "WiiU")
target_sources(CSE2 PRIVATE
- "src/Backends/Controller/WiiU.cpp"
+ "src/Backends/Controller/Null.cpp"
"src/Backends/Platform/WiiU.cpp"
)
elseif(BACKEND_PLATFORM MATCHES "3DS")
--- a/src/Backends/Controller/WiiU.cpp
+++ /dev/null
@@ -1,24 +1,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;
-}