PsxNewLib icon indicating copy to clipboard operation
PsxNewLib copied to clipboard

SCPH-1150 rumble

Open sonik-br opened this issue 2 years ago • 4 comments

Hi!

The japanese SCPH-1150 dual analog controller features a primitive type of rumble. It uses single motor with only on/off state and does not support any kind of configuration command. So no need to "enable rumble".

I don't have access to this model of controller but the DualShock is backward compatible with this old rumble mode. I've added support for this type of rumble and it's working with a DualShock. I can submit a PR with the code change.

BTW I've also added support for the jogcon's motors long ago. Been using it for years now. Should I submit a PR for it too? I would ask you to take a look if you see a better way to implement it and to fit the lib's coding style.

sonik-br avatar Feb 28 '23 17:02 sonik-br

Hi, yes, feel free to submit PRs for everything! I'd really like to keep a single library with all the features rather then having a number of different, incompatible libraries. I am not working on this at the moment, but I promise I'll merge everything, one day :).

Just submit several PRs if you can though, one for every feature. This would help a lot.

SukkoPera avatar Feb 28 '23 21:02 SukkoPera

Cool. Will do. Might be complex to do multiple PRs but I will try. Both features need to change how the rumble command works.

sonik-br avatar Feb 28 '23 23:02 sonik-br

Well, one will be fine too then!

SukkoPera avatar Mar 01 '23 07:03 SukkoPera

Got it in multiple PRs. :)

sonik-br avatar Mar 02 '23 00:03 sonik-br