WADder
Login to WADder forums?
WADder
Login to WADder forums?
WADder
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeLatest imagesSearchRegisterLog in

 

 LibHM - Easier Wii Coding!

Go down 
2 posters
AuthorMessage
hunterm
Admin



Posts : 30
Join date : 2010-03-07
Age : 25
Location : earth

LibHM - Easier Wii Coding! Empty
PostSubject: LibHM - Easier Wii Coding!   LibHM - Easier Wii Coding! EmptySun 7 Mar - 22:03

LibHM - Easier Wii Coding! - made by hunterm

LibHM can make it even easier to code for Wii, make your own homebrew programs, and makes it easier to learn how to code.

Current Version Release Notes:
}---=== v1.2 ===---{
-Took out ConsoleReturnToLoader, use Quit instead
-Made sample code Very Happy
-Added in ConsoleVideoWait, really does VIDEO_WaitVSync()

Changelog/Old Version Downloads:
Spoiler:

How To install:
Spoiler:

Download LATEST VERSION
Download SAMPLE CODE

Report Bugs, suggestions, hate-mail, love-mail, awesomeness, and comments here.

When starting to code with Libhm, take a while to study the syntax used with it, and use the sample code to start from, as it will allow you to start coding without needing to create a Makefile, just start editing the .c file included.


Last edited by hunterm on Tue 9 Mar - 22:24; edited 2 times in total
Back to top Go down
https://wadder.forumotion.com
wiihackerz101

wiihackerz101


Posts : 49
Join date : 2010-03-07
Location : In the Wii's Nand

LibHM - Easier Wii Coding! Empty
PostSubject: Re: LibHM - Easier Wii Coding!   LibHM - Easier Wii Coding! EmptySun 7 Mar - 23:27

Awsome farao
Back to top Go down
https://wadder.forumotion.com/profile.forum?mode=viewprofile&
wiihackerz101

wiihackerz101


Posts : 49
Join date : 2010-03-07
Location : In the Wii's Nand

LibHM - Easier Wii Coding! Empty
PostSubject: Would this Work   LibHM - Easier Wii Coding! EmptyMon 8 Mar - 19:03

I wonder if you guys could test this code out and tel me how it works?afro

Code:
#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
#include <libhm.h>

   ConsoleInit();
   ConsoleVideoInit();
   ControllerInit();
   ClearScreen();
   PrintText("\n");
   PrintText("\n");
   PrintText("\n");
   PrintText("\n");
   PrintText("Hello World this is Wiihackerz101")
   while(1) {
      ControllerScan();
      ControllerButtonsDown();
      if ( buttonsDown & WPAD_BUTTON_HOME ) {
         ClearScreen();
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("Wiihackerz101 has pressed the A Button!?!\n");
         Quit();
      }
      if ( buttonsDown & WPAD_BUTTON_A ) {
         ClearScreen();
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("Wiihackerz101 Why You Press The A Button\n");
      }
      if ( buttonsDown & WPAD_BUTTON_B ) {
         ClearScreen();
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("Wiihackerz101 Why You Press the B Button\n");
      }
      if ( buttonsDown & WPAD_BUTTON_1 ) {
         ClearScreen();
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("ZOMG Wiihackerz101, you pressed that crazy 1 button again!\n");
      }
         if ( buttonsDown & WPAD_BUTTON_2 ) {
         ClearScreen();
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("\n");
         PrintText("ZOMG wiihackerz101, you pressed that crazy 2 button again!\n");
      }
      ConsoleVideoWait();
   }
}
Smile
Back to top Go down
https://wadder.forumotion.com/profile.forum?mode=viewprofile&
Sponsored content





LibHM - Easier Wii Coding! Empty
PostSubject: Re: LibHM - Easier Wii Coding!   LibHM - Easier Wii Coding! Empty

Back to top Go down
 
LibHM - Easier Wii Coding!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
WADder :: Wii Homebrew :: Releases-
Jump to: