enjoy2 icon indicating copy to clipboard operation
enjoy2 copied to clipboard

Issue: Xbox Triggers

Open MoonPhoenix83 opened this issue 4 years ago • 5 comments

I am using Enjoy2 to play minecraft with my Xbox One S controller. However, it seems that the triggers cannot be remapped and are not highlighted when I press them. what do I do?

MoonPhoenix83 avatar Apr 07 '20 18:04 MoonPhoenix83

I'm having the same problem, and I haven't been able to find any fixes. Its been over a year so I was wondering if you have?

carcamx052 avatar May 04 '21 13:05 carcamx052

700 some days later, still no fix. I just want to play some ps3 games man...

Tryptame avatar Mar 24 '22 11:03 Tryptame

Ok I think I have a resolution for this. It looks like the triggers are just getting skipped when trying to figure out all the buttons. Can resolve this through changing line 78 in Joystick.m to if ((usage >= 0x30 && usage < 0x36) || (usage == 196 || usage == 197)) {, to be able to register triggers as well.

Found this by adding NSLog around the usage area and seeing that 2 actions were skipped being mapped. Printed out the usage int, found 196 and 197.

@fyhuang, I'm sure there's a more elegant solution, but something you want to update Enjoy2 with?

Nicholas-Swift avatar Nov 23 '22 07:11 Nicholas-Swift

@Nicholas-Swift How do I change the line 78 in Joystick.m to let enjoy2 recognize my trigger?

sdw82538253 avatar Aug 08 '23 07:08 sdw82538253

@Nicholas-Swift Apologies, I'm not really maintaining this repo. But if you send me a PR I'm happy to merge it!

fyhuang avatar Aug 16 '23 03:08 fyhuang