Chadderz121 / wup-028-bslug

Brainslug (https://github.com/Chadderz121/brainslug-wii) module to support the WUP-028 adapter (GCN controllers to USB)
MIT License
35 stars 7 forks source link

Save analog origin, Fire Emblem Radiant Dawn offsets #4

Open roccodev opened 4 months ago

roccodev commented 4 months ago

This adds a pad.xml file for Fire Emblem: Radiant Dawn (confirmed working on PAL and JPN, RFEP01, RFEJ01).

While testing I've also noticed that both the main and C sticks were constantly drifting down, but the issue didn't occur when using Dolphin's GC adapter implementation. As it turns out, it might be helpful to save the original neutral position of the stick so that you don't rely on the absolute values reported by the adapter. I noticed a similar issue with the analog R trigger, so I've used the neutral position as a deadzone for the triggers.

Because the neutral position is read on the first input, it means that inadvertently tilting the stick while connecting the controller/adapter might affect it. The neutral position can be reset by unplugging either the controller or the adapter.