VM Labs SDK Sample Code

\vmlabs\sample\Game-Controllers\Controller-Dump

Copyright © 2000-2001 VM Labs, Inc.  All Rights Reserved

March 2, 2001


This program reads up to eight wired controllers plus an infrared remote control, and displays the information obtained from them all at once.

At the top of the screen, the words "NUON controller dump" are shown and the color is slowly changed from dark blue to white.  This is done to demonstrate that the program is still running properly in the event that a broken controller is connected (which therefore produces no change in the display).

Filename Description
background.psd Original Adobe Photoshop picture file for background image.  Exported to BACKGROUND.RAW. 
background.raw Raw RGB image data for background.
controller.c Main program code for sample.
controller.h Include file containing a variety of definitions and function prototypes used by the sample.
data.s Assembly source file used to include background image as a binary file.
graphics.c Function containing graphics output routines such as background image display and clear screen function.
makefile MAKEFILE for building and running sample program.
proto.h include file containing function prototypes
screenbuffers.c Contains functions for screen buffer allocation and management.

 


Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.  

After that, if you're still having trouble getting this sample program to work,  click here to request assistance from developer support.

Click here for other online SDK documentation.