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

Is this working in Yosemite? #14

Open
geoffyuen opened this issue Oct 27, 2014 · 10 comments
Open

Is this working in Yosemite? #14

geoffyuen opened this issue Oct 27, 2014 · 10 comments

Comments

@geoffyuen
Copy link

It seems to detect a gamepad because I can press the triangle button in the toolbar but it doesn't detect and buttons when they're pressed. Could it be because I'm using a USB adaptor for a Dual Shock 2?

It works fine when booting into my Mavericks drive.

@fyhuang
Copy link
Owner

fyhuang commented Oct 27, 2014

Hi geoffyuen, I don't have Yosemite yet and haven't tested it on Yosemite, sorry.

@geoffyuen
Copy link
Author

Ah ok. Just some more information: I synced up a Dual Shock 3 and I also have the same problem. The controller works in OpenEmu though.

@tolchocker
Copy link

Same issue here. Both Enjoy2 and the previous Enjoy have stopped detecting my usb wired Logitech gamepad after updating to Yosemite.

@jeffjenx
Copy link

jeffjenx commented Nov 3, 2014

Same problem here. Tried with a DualShock 3 and a SNES RetroUSB controller. Pressing buttons on the controllers do not open the appropriate control for mapping.

@jtzemp
Copy link
Contributor

jtzemp commented Jan 31, 2015

So, I'm on a Mavericks (10.9.5) machine, with a Sabrent gamepad, and I'm also having problems. I see Enjoy2 recognizes the device, but it just doesn't jump to the right button. When I try and 'brute force' it by filling in all the details and then just push buttons, I don't get any "keyboard" output.

@xaviershay
Copy link

Same issue on 10.9.5 - Buffalo SNES gamepad works on OpenEmu, but not on Enjoy2.

@xaviershay
Copy link

The pointer equality test at https://github.com/fyhuang/enjoy2/blob/master/JoystickController.m#L153 is broken and will never return true. There is a related warning you try to compile. I'm investigating a patch.

@xaviershay
Copy link

This is totally weird. I instrumented add_callback and input_callback and confirmed that the IOHIDDeviceRef that is being used to register is different from the inSender value that is being passed to the callback.

2015-01-31 13:38:40.234 Enjoy2[87723:303] Registering value callback for 0x60800013c520
2015-01-31 13:38:40.828 Enjoy2[87723:303] Received value callback for 0x608000283e30

https://developer.apple.com/library/mac/documentation/DeviceDrivers/Conceptual/HID/new_api_10_5/tn2187.html#//apple_ref/doc/uid/TP40000970-CH214-SW12 says they should be the same.

I don't know what to do next :/

xaviershay referenced this issue Jan 31, 2015
…ady a HID

device.

This change fixes the detection of joystick events on Mac OS X 10.6. On 10.9 the
old code also worked, presumably because IOHIDQueueGetDevice returned the input
parameter as result in case it wasn't an IOHIDQueueRef (on 10.6 it returned
NULL)
@xaviershay
Copy link

Reverting d298f67 fixes for me. I don't know how to reconcile that with documentation, or with behaviour the author of that commit saw ¯\_(ツ)_/¯.

@geoffyuen
Copy link
Author

This fork of (the original?) Enjoy works on Yosemite:

https://yukkurigames.com/enjoyable/

I've used it with my Dualshock 3 and DS2 via a usb adaptor. It's quite fully featured too.

They also have a git repo if anyone wants to look at the code.

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

6 participants