Skip to content

Wrong JOY_getJoypadType(JOY_2) result #326

Description

@D0NM

What I have (in BlastEm)

PORT1: PAD6
PORT2: TEAMPLAYER
in TEAMPLAYER's PORT1: PAD6
(ofc, I enable TEAMPLAYER support on PORT2 manually)

The data reading for JOY_2 DOES NOT WORK ,
so JOY_readJoypad(JOY_2) never returns anything.
The data reading for JOY_ALL reacts on JOY_2 activity and returns its state.
The callbacks WORK FINE for both JOY_1 and JOY_2.

ERROR:
JOY_getJoypadType(JOY_2) returns JOY_TYPE_UNKNOWN when it should return JOY_TYPE_PAD6

I suppose it might be a bug for all gamepads connected via TEAMPLAYER or EA 4-WAY PLAYER.

Peace!

UPD:
even the sample\joy-test doesn't show the type correctly.
i think its .bin file is outdated and uses old SGDK...
It shows type "PHASER" for JOY_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions