jakibaki / hid-mitm

Sysmodule mitming the Horizon hid (human interface device) services to allow using unsupported gamepads on the nintendo switch.
GNU General Public License v2.0
102 stars 23 forks source link

Update for current Stratosphere #39

Closed thestr4ng3r closed 4 years ago

thestr4ng3r commented 4 years ago

I did not yet get it to work, but at least it compiles. Feel free to review already if you want.

jakibaki commented 4 years ago

:+1:

Just in case you didn't know you need to patch out the ams included hid-mitm out of atmosphere if you want my hid-mitm to work with current atmosphere rn.

Afaik with the next release that won't be included in atmosphere anymore but for now it's needed.

HookedBehemoth commented 4 years ago

Could you try my suggestion?

thestr4ng3r commented 4 years ago

I didn't have the time yet, but I plan to try it around the weekend. If you find anything else, feel free to add more comments.

staringstar commented 4 years ago

Is this working?

thestr4ng3r commented 4 years ago

Nope, still crashes for me. But I am working on it as well as appreciate any help.

thestr4ng3r commented 4 years ago

works now \o/

HookedBehemoth commented 4 years ago

Congrats

HookedBehemoth commented 4 years ago

You should probably go way lower on stack and heap size.

thestr4ng3r commented 4 years ago

I had crashes with the smaller stack size before, but yeah can probably be lower now.

Somehow it seems to work now on all titles I tried so far except Link's Awakening where on startup, the hid sysmodule crashes like this with 2162-0002 (svcBreak): 01582576898_0100000000000013.log Any idea what in hid-mitm might cause this?

jakibaki commented 4 years ago

First of all thank you very much! \o/

No clue whatsoever what might cause the svcBreak, might actually be unrelated to your changes. (hid-mitm never was particularly stable software).

I'll merge this for now :)