BennuGD Joystick Library v1.0 (Wiz misc)

Here comes a Joystick Library, which might be useful for the one or other coder.

Quote:

Copy the file “joystick.inc” to your game folder.
In your programm use

#include “joystick.inc”;

and in the main process or where needed, call the function

init_controls();

This will setup a process to get the Wiz key status.
After that you can check the JOY array, e.g.

JOY[BY] = Button Y
JOY[START] = Menu Button
JOY[SELECT] = Select Button

http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,19,206

This article is over 2 years old — the linked page may have changed, moved, or been taken over since then.

No Comments

You must be logged in to post a comment.