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
2019-02-01 19:17:33 +01:00
acinclude acinclude: rename ax_gcc_x86_cpuid.m4.htm to ax_gcc_x86_cpuid.m4 2018-09-15 09:24:04 +03:00
android-project Updated Android project files and documentation 2018-10-28 10:31:06 -07:00
android-project-ant
build-scripts use less ancient versions of autofoo scripts 2018-10-18 11:58:00 +03:00
cmake
debian Updated version to 2.0.9 2018-09-26 10:08:14 -07:00
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 include: Add extra checks for endian on devkitPPC 2019-01-03 13:41:40 +11:00
src input/wiiu: Clear last_touched after sending touch release event 2019-01-24 08:44:37 +01: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-01-12 20:57:21 +11: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 wiiu: Switch to cmake 2018-10-30 22:04:29 +01:00
configure Mark a subsystem as dummy, not disabled, if it was intended to be compiled in. 2018-09-28 21:19:27 -07:00
configure.in Mark a subsystem as dummy, not disabled, if it was intended to be compiled in. 2018-09-28 21:19:27 -07:00
COPYING.txt
CREDITS.txt
INSTALL.txt
Makefile.in
Makefile.minimal
Makefile.pandora
Makefile.psp
Makefile.wiiu wiiu: Updates for newer SDL 2018-10-28 19:41:37 +01:00
Makefile.wiz
OWMakefile.os2 SDL_power.c: Adjust SDL_POWER_DISABLED ifdefs to avoid zero-size array 2018-10-15 11:01:00 +03:00
README-SDL.txt
README.md Edit README for the wiiu port 2019-02-01 19:17:33 +01: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=$WUT_ROOT/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