Changes

Jump to navigation Jump to search
591 bytes removed ,  12:53, 22 June 2008
no edit summary
Line 2: Line 2:     
== Questions ==
 
== Questions ==
  −
* How do i make the wii reboot and shutdown to yellow light mode ?
  −
  −
::Reboot by [[User:Cboomf|Cboomf]]<br>
  −
:::Coded by bushing.
  −
  −
<source lang="c">
  −
void shutdown(void) {
  −
    __STM_Init();
  −
    STM_RebootSystem();
  −
    __STM_Close();
  −
}
  −
</source>
  −
  −
* How can i use the wiimote's rumble motor ?
  −
  −
::Rumble by [[User:Cboomf|Cboomf]]
  −
  −
Just put the following in the wiimote_event function<br>
  −
<source lang="c">
  −
wiiuse_rumble(wiimotes[0], rumble);
  −
</source>
  −
Move the following to be a global variable<br>
  −
<source lang="c">
  −
wiimote** wiimotes;
  −
</source>
  −
Then set rumble to be 1 to rumble or 0 to stop.
      
* Is there a way to control the front wii light ?  
 
* Is there a way to control the front wii light ?  
569

edits

Navigation menu