Good morning,
I tested this mapping for the N64 Mod Kit by 8BitDo:
https://shop.8bitdo.com/products/8bitdo-mod-kit-for-original-n64-controller
[8BitDo N64 Modkit]
plugged = True
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = hat(0 right)
DPad L = hat(0 left)
DPad D = hat(0 down)
DPad U = hat(0 up)
Start = button(11)
Z Trig = button(8)
B Button = button(1)
A Button = button(0)
C Button R = axis(2+)
C Button L = axis(2-)
C Button D = axis(3+)
C Button U = axis(3-)
R Trig = button(7)
L Trig = button(6)
Mempak switch =
Rumblepak switch = button(9)
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
The buttons work as expected, except for the rumblepak mapping, which I mapped to the ZR button on the actual Rumblepak. I don't know what, if any, games are supported, so I can't test that one (happy to take suggestions).
Please let me know if you need any other information or if I can give you any other tests.