Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

IR-GUN4ALL v4.2 - Fault Carol

Latest
Compare
Choose a tag to compare
@SeongGino SeongGino released this 25 Apr 04:12
· 3 commits to plus since this release
e760c12
Who's Carol and why is it her fault?

The General Fixes Update

Lots of little things that adds up to an overall smoother experience.

  • External NeoPixels actually work now! Oops.
  • TMP36 temperature sensor support has been finalized, and is now enabled and supported by default - no more separate TMP builds!
    • The calculation from mV to Celsius has been tweaked, which should hopefully provide decently accurate results now.
    • Like analog sticks, the temp sensor path is only used if it's applied to a pin - otherwise it goes through the normal non-temp monitored path.
    • Turns out, it's totally safe to leave the feature enabled even the pin itself isn't actually populated - but it's a moot point with the added check above.
    • When docked, the board will now periodically ping the current temperature reading if the temp sensor pin is assigned. This will be used in a future GUN4ALL-GUI update.
  • Analog sticks are now disabled by default, as leaving the pins active without any real device will cause ghost inputs (interpreted as always holding the stick to the bottom-left). If you have an analog stick you'd like to add to your build, refer to the custom pins setting in the GUN4ALL-GUI.
  • D-pads (GunCon 2, et al) are now mapped to the Gamepad's D-pad! A much more player-agnostic method compared to the keyboard arrow keys.
    • And the gamepad now has D-pad support! Much to Seong's demise who had to convert from a sane button mask to the HID POV hat standard which is a goddamn mess.
  • Added generic board support. Though this doesn't make any guarantees that it will work as perfectly as the provided builds for bespoke boards, you can at least use it to (blindly) assign pins for basic functionality with (theoretically) most other RP2040 microcontrollers.
  • Some (much needed) code cleanup.

For New Users: Read This!

In the releases below, there are multiple sets of firmware files provided:

  • The name after SamcoEnhanced. indicates the board build - rpipico being Raspberry Pi Pico, adafruitItsy being Adafruit ItsyBitsy RP2040, arduinoNano being Arduino Nano RP2040 Connect, adafruitKB2040 being Adafruit Kee Boar KB2040, and generic being for any other RP2040 board that doesn't yet have any presets. Aside from the latter, the build determines a lot of behind-the-scenes aspects tailored to each specific board.

Once you've downloaded the UF2 file corresponding to your microcontroller, simply connect it to your PC while holding the BOOTSEL button, and drag'n'drop the UF2 onto the RPI-RP2 removable storage that pops up. The board will disconnect and be flashed with and running GUN4ALL.

From here, you can 'dock' the board with GUN4ALL-GUI and set it up as you please, configure board settings, and test inputs and camera. For more information, refer to the documentation here!

If you'd like to see more fixes like this more often, please support my work on Ko-fi. Every bit goes towards getting more equipment to refine and expand GUN4ALL for more boards/enclosures.