v0.1.2 - Wheel buttons fire reliably
Fixes the core "a bound wheel button does nothing (but Send test works)" bug and makes button triggers press-type-proof.
Install
Download RaceNotifier-v0.1.2.zip, copy RaceNotifier.dll into your SimHub folder, restart SimHub, and enable the plugin. After binding a button, make sure the message is enabled with text and a destination selected.
Upgrade note: triggers changed from actions to inputs, so re-bind your button once after updating (the old binding won't carry over).
Fixes
- Bound buttons now actually fire. Root cause: SimHub prefixes plugin actions with the plugin class name, so our actions registered as
RaceNotifierPlugin.SendMessageN, but the UI bound toRaceNotifier.SendMessageN(missing thePluginsuffix). Presses hit a non-existent target and did nothing, while Send test worked because it calls the sender directly. The bind control now uses the correct, class-derived name. - Press type no longer matters. Triggers are now SimHub input mappings (raw pressed/released) instead of actions. SimHub's default "Short and long press" (which ControlMapper also assigns) silently never fired a normal action; input mappings fire on a plain press, so any press type and ControlMapper roles work.
- Diagnostic logging. Every press logs to SimHub.txt: the trigger, the exact reason a send is skipped (disabled / no text / no destination / cooldown / master off), send OK/FAILED, and the real action name at startup.
Also in this line (since v0.1)
- Unlimited, add/remove messages (replaces the fixed 10 slots).
- Master on/off switch (mutes button sends and Send test).
- Collapsible message rows, up/down reordering, inline validation warnings, remove-confirm.
- One-click "Restart SimHub" + banner for binding brand-new buttons.
- Multiple Discord destinations, per-message cooldown, sender prefix, one auto-retry.
Requires SimHub (Windows) + .NET Framework 4.8. Pre-1.0; v1 is reserved for the first confirmed stable release.