GCController wrapper #6

Merged
stossy11 merged 3 commits from XITRIX/MeloNX:Controller-fix into XC-ios-ht 2025-02-17 01:20:48 +00:00
Contributor

This should fix the issue with some controllers, where buttons not working because of SDL weird mapping.
The idea behind is to rely on iOS mapping from GCController object and pass it's events to SDL virtual controller.

This PR still require some polishing, i.e. option to filter controllers by "Wrapped / Unwrapped only", but in terms of functionality, it works perfectly fine with my Backbone One PS edition controller

This should fix the issue with some controllers, where buttons not working because of SDL weird mapping. The idea behind is to rely on iOS mapping from GCController object and pass it's events to SDL virtual controller. This PR still require some polishing, i.e. option to filter controllers by "Wrapped / Unwrapped only", but in terms of functionality, it works perfectly fine with my Backbone One PS edition controller
XITRIX added 1 commit 2025-02-15 14:49:06 +00:00
XITRIX force-pushed Controller-fix from 94a4193b51 to 13e21b36d1 2025-02-15 15:12:05 +00:00 Compare
XITRIX force-pushed Controller-fix from 13e21b36d1 to c7d1134933 2025-02-15 15:20:28 +00:00 Compare
XITRIX force-pushed Controller-fix from c7d1134933 to c5bb7805ae 2025-02-15 15:26:12 +00:00 Compare
XITRIX added 1 commit 2025-02-15 16:18:56 +00:00
XITRIX force-pushed Controller-fix from 446f1b312a to 5f960399a8 2025-02-15 20:39:26 +00:00 Compare
Owner

From what I can see, this PR does not include multiple controller (multiplayer) support. that was my reasoning for not doing it, else looks good.

From what I can see, this PR does not include multiple controller (multiplayer) support. that was my reasoning for not doing it, else looks good.
Author
Contributor

Sorry, maybe I did not understand what you mean, but I think it does support multiple controllers, I can see entire list of controllers in logs and all GC controllers in App

IMG_FD1268630CA8-1.jpeg
image.png

Sorry, maybe I did not understand what you mean, but I think it does support multiple controllers, I can see entire list of controllers in logs and all GC controllers in App ![IMG_FD1268630CA8-1.jpeg](/attachments/1eb4e98f-4103-43da-8492-fe072a667a7d) <img width="755" alt="image.png" src="attachments/ee229bf1-8bf9-4c4a-a3a8-ea8b37384da4">
XITRIX added 1 commit 2025-02-16 10:06:51 +00:00
XITRIX force-pushed Controller-fix from f7e3273b49 to 5d5f6c330f 2025-02-16 10:07:48 +00:00 Compare
XITRIX force-pushed Controller-fix from 5d5f6c330f to a346d2b1fd 2025-02-16 21:39:35 +00:00 Compare
XITRIX force-pushed Controller-fix from a346d2b1fd to 500f3d5b9e 2025-02-16 23:39:10 +00:00 Compare
stossy11 merged commit cb33b04f2b into XC-ios-ht 2025-02-17 01:20:48 +00:00
XITRIX deleted branch Controller-fix 2025-02-17 10:11:17 +00:00
Sign in to join this conversation.
No description provided.