xbmc / peripheral.joystick

Kodi joystick support (drivers and button maps)
GNU General Public License v2.0
24 stars 46 forks source link

[darwinEmbedded] Controller support for Extended and Micro gamepads #178

Closed fuzzard closed 4 years ago

fuzzard commented 4 years ago

Apple supports gamepads with 2 specific button layous. Extended is a traditional xbox style controller (14button, 2 axis) Micro is similar to an NES controller (6 button - dpad + 2 buttons)

MicroGamepad can potentially handle motion, but i'll go with the easy assumption for now.

No need to merge this as yet, obviously still working on the rest of the pieces. Figure i'll just get this in place whilst i remember

garbear commented 4 years ago

Did you generate these by hand or using the controller configuration utility?

fuzzard commented 4 years ago

Definitely by hand, haha, didn't even know there was a utility

garbear commented 4 years ago

https://kodi.wiki/view/HOW-TO:Configure_controllers. See if it yields any differences

fuzzard commented 4 years ago

Went through a few iterations, but the extended controller layout is now fully tested and functional. I may look to add some other controller types (eg. Steelseries Nimbus), but i'll need some logging from Kambala to get that tested with. This can be done later. Micro layout is entirely untested, as im personally only aware of 1 micro gamecontroller (Apple TV siri remote), and i dont have the tvos input handling in a state to function (complete rewrite required potentially)

garbear commented 4 years ago

Cool, ready to merge? Closing and re-opening to trigger CI.

fuzzard commented 4 years ago

Ready for merge when ci is happy

garbear commented 4 years ago

Failing on iOS-armv7 packaging. Got any ideas? @Rechi can you tell what's wrong?

fuzzard commented 4 years ago

It's a pipeline issue, there are no longer armv7 builds in master. Alwin has a PR open for removing that platform pipeline in master builds

garbear commented 4 years ago

K, not like these XMLs are tested in the pipeline anyway