Giter Site home page Giter Site logo

frederico-klein / wiiu-helloworld-easy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rw-r-r-0644/wiiu-helloworld-easy

0.0 1.0 0.0 150 KB

OLD/DEPRECATED: Use wut instead (https://github.com/decaf-emu/wut)

Makefile 4.06% C 93.27% Objective-C 1.08% C++ 1.59%

wiiu-helloworld-easy's Introduction

WiiU-HelloWorld-Easy

The Easiest Wii U Homebrew Example™

A very easy example for people that want to start with wii u homebrew

Screen functions

clrscr();
Clears screen (same as ncurses)

...and all the standard output functions! (but not the standard input function)
(printf, puts, putc, ... ; if you never used those, you can look here: http://www.google.com/search?q=c+output+functions)

Input functions

update_buttons();
Updates buttons state

button_pressed(int button)
Returns 1 if button is pressed, 0 if button isn't pressed
example: "if(isPressed(VPAD_BUTTON_HOME)) doSomething();"
Other than VPAD_BUTTON_HOME, possible values are:
VPAD_BUTTON_A, VPAD_BUTTON_B, VPAD_BUTTON_X, VPAD_BUTTON_Y, VPAD_BUTTON_LEFT, VPAD_BUTTON_RIGHT,
VPAD_BUTTON_UP, VPAD_BUTTON_DOWN, VPAD_BUTTON_ZL, VPAD_BUTTON_ZR, VPAD_BUTTON_L, VPAD_BUTTON_R,
VPAD_BUTTON_PLUS, VPAD_BUTTON_MINUS, VPAD_BUTTON_HOME, VPAD_BUTTON_SYNC, VPAD_BUTTON_STICK_R,
VPAD_BUTTON_STICK_L, VPAD_BUTTON_TV

FS functions

The standard C filesystem functions
(open(), read(), fopen(), fwrite(), ... ; if you never used those, you can look here: http://www.google.com/search?q=c+file+functions)

Wii U functions

You can access all the Wii U functions from all the Wii U libraries
For a list and of them look here: http://wiiubrew.org/wiki/Cafe_OS#Libraries

Bugs

Is seems like the used implementation of printf won't send the input to the screen until a "\n" (newline) character is sent

wiiu-helloworld-easy's People

Contributors

rw-r-r-0644 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.