[Android] Add support for the Wii U Gamecube adapter under Android.

No way to properly enable it from an end user perspective yet.
Doesn't require root.
This same sort of system can be used for the Dolphinbar in the future for real wiimote support.
This commit is contained in:
Ryan Houdek
2016-01-06 01:00:02 -06:00
parent 6e503bebc4
commit e62503c873
3 changed files with 448 additions and 2 deletions

View File

@ -31,12 +31,14 @@ elseif(X11_FOUND)
endif()
set(LIBS ${LIBS} ${X11_LIBRARIES} ${XINPUT2_LIBRARIES})
elseif(ANDROID)
set(SRCS ${SRCS}
ControllerInterface/Android/Android.cpp)
set(SRCS ${SRCS}
ControllerInterface/Android/Android.cpp)
endif()
if(LIBUSB_FOUND)
set(SRCS ${SRCS} GCAdapter.cpp)
elseif(ANDROID)
set(SRCS ${SRCS} GCAdapter_Android.cpp)
else()
set(SRCS ${SRCS} GCAdapter_Null.cpp)
endif(LIBUSB_FOUND)