Joypad Functions.

Summary
Joypad Functions.
Functions
joypad_readPoll joypads state.
joypad_6_readPoll 6-buttons joypads state.

Functions

joypad_read

Poll joypads state.

This routine assumes that a multitap with 5 2-button joypads is plugged to the joypad port.

Parameters

none

Return

joypadStates of the 5 joypads.

Consumed

A, X

joypad_6_read

Poll 6-buttons joypads state.

This routines assumes that 6-button controllers may be connected to a multitap.

Parameters

none

Return

joypaddirections and buttons for all 5 controllers.
joypad_6states of buttons III, IV, V and VI or 0 for 2-button joypads.
Close