InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

XInputControllerOSX doesn't work in OSX

Open GuardHei opened this issue 8 years ago • 11 comments

Cannot respond to events, including triggers, shoulders Respond to events weirdly and fail to function, including sticks, buttons

GuardHei avatar Jun 07 '18 14:06 GuardHei

Did you install the Xbox controller driver from https://github.com/360Controller/360Controller?

What kind of XInput controller are you using?

What do you mean by "respond to events weirdly"?

Rene-Damm avatar Jun 07 '18 17:06 Rene-Damm

I did not use a Xbox 360, I used Xbox one via Bluetooth. However, the result was the same even using Xbox One Controller in Products -> Gamepad. Totally no results from any of the two models. However, the left stick seems to be responsive to "start to move" event sometimes, about once in hundreds of input. By the way, my os version is 10.12.

GuardHei avatar Jun 07 '18 23:06 GuardHei

Is this in the editor or in the player or both?

It turns out there was an error that resulted in the native new input system backed to be disabled in OSX players (and players only, not editor) in 2018.2 and that embarrassingly was caught nowhere (we're still struggling to adapt our automation infrastructure to the reality of packages).

Rene-Damm avatar Jul 02 '18 14:07 Rene-Damm

I've tested it in the editor, haven't try the player yet.

Maybe Bluetooth causes the problem?

GuardHei avatar Jul 03 '18 06:07 GuardHei

I see. Could be. Definitely needs more digging.

Rene-Damm avatar Jul 03 '18 09:07 Rene-Damm

@GuardHei 0.2.0-preview has a few fixes to the Xinput. Are you still seeing this problem with latest update?

douglas-piconi avatar Feb 14 '19 19:02 douglas-piconi

In my case I see the xbox one controller in my Input Debugger but no response from any input whatsoever.

I do have successful keyboard events working as expected.

gegagome avatar Mar 03 '19 18:03 gegagome

Verified fix on 2019.1.0b9 with Develop (af5d4c1)

JiaUnity avatar Mar 28 '19 23:03 JiaUnity

Will the fix make it on 2018.3? Or when will the fix be public in 2019.1?

Thanks!

gegagome avatar Mar 29 '19 04:03 gegagome

I saw 2019.1.0b9 but not develop on the unity download website. Where do you download develop from?

Thanks

gegagome avatar Mar 29 '19 04:03 gegagome

@gegagome Hey, you can install released package following the instruction here: https://github.com/Unity-Technologies/InputSystem/blob/develop/Packages/com.unity.inputsystem/Documentation~/Installation.md Or you can just download the Develop branch: https://github.com/Unity-Technologies/InputSystem/tree/develop and copy the new input folder in the Packages folder to your project Packages folder.

JiaUnity avatar Mar 29 '19 18:03 JiaUnity