HarbourMasters / Shipwright

3.18k stars 482 forks source link

8BitDo Ultimate Controller oddities #3739

Open briaguya-ai opened 9 months ago

briaguya-ai commented 9 months ago

the first time i connected it I

with a fresh json, when starting the game with the controller already connected i saw image

it's not clear what's going on here, so here's an issue to document findings and hopefully figure some stuff out

leggettc18 commented 9 months ago

I'm noticing in your first screenshot it appears as 8BitDo Ultimate Wireless Controller, and in your second screenshot it appears as 8BitDo Pro 2 Wired Controller. So add the Switch Pro Controller and I'm seeing 3 different ways this controller has appeared on your system.

For myself, the way it usually goes is:

  1. I get a new build of SoH for whatever reason (testing a PR, new release, Anchor build, etc.)
  2. I connect the controller, boot up SoH, configure it with my preferred control scheme
  3. Things work normally until the controller disconnects for some reason (idles, I manually disconnect it, etc.)
  4. It appears both with my manual configuration and as a second controller with the default configuration. I only notice when menu navigation acts like I'm hitting B when I hit A.
  5. I manually remove the extra controller mappings.
  6. After that I never manage to repro the issue, it always connects correctly after that.

I'll add screenshots if I manage to repro the issue again in the future.

leggettc18 commented 9 months ago

Worth noting, this controller can get firmware updates which I completely forgot about, and 1.0.2 has a changelog entry of "Optimized the accuracy of system identification". I have updated my controller so we'll see if this issue ever resurfaces after that.