Skip to content

Fix controller autoplay via EventBus subscription - #7

Open
NNowakowski wants to merge 1 commit into
Osmodium:mainfrom
NNowakowski:main
Open

Fix controller autoplay via EventBus subscription#7
NNowakowski wants to merge 1 commit into
Osmodium:mainfrom
NNowakowski:main

Conversation

@NNowakowski

@NNowakowski NNowakowski commented Aug 11, 2026

Copy link
Copy Markdown

The Harmony patch on DialogController.HandleOnCueShow only fires for keyboard/mouse input. Subscribing to the game's EventBus via IDialogCueHandler fires for all input modes including controller.

Add DialogCueListener which implements IDialogCueHandler and is subscribed in Main.Load(). Remove HandleOnCueShow_Postfix from UiDialogController_Patch to avoid double-firing autoplay on keyboard/mouse.


A fix that I've added as part of my personal efforts to replace the windows TTS of this mod with an ElevenLabs integration. Thought I'd backport it to your version as I've seen a few people asking for controller support and this atleast reenables the autoplaying of dialog.

The Harmony patch on DialogController.HandleOnCueShow only fires for
keyboard/mouse input. Subscribing to the game's EventBus via IDialogCueHandler
fires for all input modes including controller.

Add DialogCueListener which implements IDialogCueHandler and is subscribed
in Main.Load(). Remove HandleOnCueShow_Postfix from UiDialogController_Patch
to avoid double-firing autoplay on keyboard/mouse.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant