SDL2 for the Nintendo Wii U (build with "cmake [SDL source path] -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$DEVKITPRO/portlibs/wiiu")
Go to file
2021-10-23 20:03:15 +11:00
acinclude
android-project Updated Android project files and documentation 2018-10-28 10:31:06 -07:00
android-project-ant
build-scripts
cmake
debian
docs Backed out changeset 9bb50edccc46, SDL_JOYSTICK_HIDAPI is only used on iOS for Steam Controller support, which is not publicly available. 2018-10-29 19:58:59 -07:00
include video/wiiu: Add flags to only draw on TV or Gamepad (#1) 2019-04-29 22:57:45 +10:00
src Add GameController support for the Wii U Gamepad (#59) 2021-10-23 20:03:15 +11:00
test
VisualC
VisualC-WinRT
visualtest
wayland-protocols
Xcode fix permissions 2018-10-23 09:10:02 +03:00
Xcode-iOS Don't build SDL_JOYSTICK_HIDAPI by default on iOS 2018-10-26 09:27:31 -07:00
.gitignore add gitignore (sorry) 2019-04-29 22:55:55 +10:00
.hgignore
.hgtags
Android.mk Fixed bug 4335 - Android NDK build error 2018-10-28 14:17:21 -07:00
autogen.sh
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt cmake: Don't link against stub libraries 2019-11-21 13:55:47 +11:00
configure
configure.in
COPYING.txt
CREDITS.txt
INSTALL.txt
Makefile.in
Makefile.minimal
Makefile.os2 rename os2 makefile so that 'make dist' catches it; update it a bit. 2018-10-30 20:11:02 +03:00
Makefile.pandora
Makefile.psp
Makefile.wiiu wiiu: Updates for newer SDL 2019-04-29 22:55:55 +10:00
Makefile.wiz
README-SDL.txt
README.md Update build instructions 2019-09-20 21:21:07 +10:00
README.txt
sdl2-config.cmake.in
sdl2-config.in
sdl2.m4
sdl2.pc.in
SDL2.spec.in
SDL2Config.cmake
TODO.txt
VisualC.html
WhatsNew.txt Added patch note for SDL_GameControllerGetPlayerIndex() and friends 2018-10-26 09:49:27 -07:00

SDL2 for Wii U

About

This project is a port of the SDL software development library to the Nintendo Wii U video game console, built for the wut toolchain. Currently it implements support for audio, joystick (gamepad), touchscreen (gamepad), video (gx2), hardware accelerated rendering (gx2), timers and threading.

Installing

Prebuilt versions of sdl2, along with other sdl2 libraries (gfx, image, mixer, ttf), are available on the wiiu-fling pacman repository. Please reffer to these instructions to set up wiiu-fling.

Building on Linux

In order to build sdl2 for wiiu, you'll need to install some prerequisites:

  • devkitPPC (make sure to export $DEVKITPRO)
  • wut (make sure to export $WUT_ROOT)
  • cmake

Clone and enter the wiiu sdl repo:

$ git clone https://github.com/yawut/SDL.git
$ cd SDL

Prepare for the build:

$ mkdir build && cd build

Build:

$ cmake ../ -DCMAKE_TOOLCHAIN_FILE=$DEVKITPRO/wut/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$DEVKITPRO/portlibs/wiiu
$ make

Install (might need to run as sudo depending on $DEVKITPRO/portlibs/wiiupermissions):

$ make install

Credits:

  • rw-r-r-0644, quarktheawesome, exjam: wiiu sdl2 port and libraries
  • wiiu homebrew contributors
  • sdl mantainters
  • inspired by libnx/libtransistor sdl2 ports