Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OUYA Controller mini-touch screen registered as separate device #1413

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

OUYA Controller mini-touch screen registered as separate device #1413

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Windows 7, x86_64

Comments on the original bug report:

On 2014-03-21 05:05:34 +0000, Justin wrote:

SDL_CONTROLLERDEVICEADDED is being sent twice: once for the controller and once for the touch pad.

this is my patch, in SDL_dxjoystick.c:

static BOOL CALLBACK
EnumJoysticksCallback(const DIDEVICEINSTANCE * pdidInstance, VOID * pContext)
{
JoyStick_DeviceData *pNewJoystick;
JoyStick_DeviceData *pPrevJoystick = NULL;

int t = pdidInstance->dwDevType & 0xFF;
if(t != DI8DEVTYPE_JOYSTICK && t != DI8DEVTYPE_GAMEPAD)
{
    return DIENUM_CONTINUE;
}
// the touch pad would be DI8DEVTYPE_SUPPLEMENTAL 
...

On 2015-02-19 06:32:13 +0000, Ryan C. Gordon wrote:

Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry
if you got a lot of email from this. This is to help me sort through some bugs
in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4,
though!

On 2015-04-07 04:57:57 +0000, Ryan C. Gordon wrote:

(sorry if you get a lot of copies of this email, I'm marking several bugs at once)

Marking bugs for the (mostly) final 2.0.4 TODO list. This means we're hoping to resolve this bug before 2.0.4 ships if possible. In a perfect world, the open bug count with the target-2.0.4 keyword is zero when we ship.

(Note that closing a bug report as WONTFIX, INVALID or WORKSFORME might still happen.)

--ryan.

On 2015-04-08 06:16:18 +0000, Ryan C. Gordon wrote:

Fixed in https://hg.libsdl.org/SDL/rev/d5adc0c06a03, thanks!

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant