Zelda64Recomp / Zelda64Recomp

Static recompilation of Majora's Mask (and soon Ocarina of Time) for PC (Windows/Linux)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Mappings for N64 Controllers (Raphnet)

dcvz opened this issue · comments

After #346 we now make use of the controller db with SDL which has made previously not working controllers work, but we've noticed that some (like the N64 controller with Raphnet Adapter) don't have the right mappings by default. We'll want to make some custom mappings where necessary before the next release.

Strangely, the dual raphnet N64 adapter has sensible mappings out of the box with the controller db and it seems like just the single controller adapter has strange mappings. The tribute 64 also seems to have strange mappings out of the box as well.

@dcvz These are some changes I made to the controller DB for a homemade Raphnet adapter I got from Joeff112.

I made these changes to get this adapter to read in the Perfect Dark Comp. This adapter is running Raphnet firmware 3.6.1.

030000009b2800006000000000000000,Raphnet GC and N64 Adapter,a:b0,b:b1,dpdown:b11,dpleft:b12,dpright:b13,dpup:b10,lefttrigger:b4,leftx:a0,lefty:a1,rightshoulder:b2,righttrigger:b5,-rightx:b8,+rightx:b9,-righty:b6,+righty:b7,start:b3,platform:Windows,

As long as the adapter is the same ID it should work.

Here is another one I did. This is the Hyperkin Adapter M07412.

03000000242e0000ff0b000000000000,Hyperkin N64 Adapter,a:b1,b:b2,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b7,leftx:a0,lefty:a1,rightshoulder:b5,start:b9,+righty:a2,-righty:-a2,+rightx:a5,-rightx:-a5,platform:Windows,

Note: I bought this Hyperkin Adapter many years ago. Unsure is Hyperkin made any updates to the firmware. The one I have is the same model though.