Line 5:
Line 5:
Include -lwiikeyboard in your Makefile.
Include -lwiikeyboard in your Makefile.
−
===Initialize the keyboard subsystem:===
+
=== Initialize the keyboard subsystem: ===
<source lang="cpp">
<source lang="cpp">
KEYBOARD_Init(NULL);
KEYBOARD_Init(NULL);
</source>
</source>
−
===Process an event:===
+
=== Process an event: ===
<source lang="cpp">
<source lang="cpp">
keyboard_event ke;
keyboard_event ke;
Line 20:
Line 20:
</source>
</source>
−
==Alternate usage - using stdin==
+
== Alternate usage - using stdin ==
<source lang="cpp">
<source lang="cpp">