I did some experiments with my Adaptoid and I have determined how it works. I wrote it up here on the controller_patcher GitHub:Issue with N64 Controller + Adaptoid
I'm trying to get some N64 controllers working with some Adaptoids I have. Buttons work fine, but the joystick is problematic. I'm not too savvy with this stuff, but I think there are possibly a few problems here. The first issue I cannot get around is that the joystick uses signed bytes. From what I can gather the range is about 160, centered at 0, with the min being -80 and the max being +80. I've read that the controller uses 2's complement for the joystick position. I don't fully understand what this means, but it seems to allow for signed bytes. Not sure if HID to VPAD is compatible with this. The second issue I found when using HID Test is that the X and Y position bytes are spread across multiple byte positions in HID Test. For instance, when I move the joystick purely in the X direction, the first digit in position "00" changes and the first digit in position "01" changes. When I move the joystick purely in the Y direction, both digits in position "02" change, and when move the joystick in both X and Y, all the digits in positions "00", "01", and "02" change.
I've created a new configuration file, and like I said above, the buttons are all working fine. I'm hoping someone can help me get the joystick working properly though.
https://github.com/Maschell/controller_patcher/issues/23
HID-to-VPAD uses controller_patcher.
The issue is that the controller_patcher code assumes 8bit values. The Adaptoid uses 12bit signed integers from -1200 to 1200 for the joystick axes. It's beyond my current skills to fix that.