keybinds: enable mouse-Zapper by default (fixes Gumshoe/Duck Hunt unplayable)#16
Open
mstan wants to merge 1 commit into
Open
keybinds: enable mouse-Zapper by default (fixes Gumshoe/Duck Hunt unplayable)#16mstan wants to merge 1 commit into
mstan wants to merge 1 commit into
Conversation
Zapper games (Gumshoe, Duck Hunt) set g_zapper_enabled=1 in their game_on_init, but the mouse-as-lightgun was gated behind keybinds [zapper] mouse=true, which defaulted OFF — making them unplayable out of the box. Every mouse-Zapper code path is already gated on g_zapper_enabled, so defaulting mouse+crosshair ON is inert for non-Zapper games and makes Zapper titles work immediately. Also fixes the keybinds.ini writer to emit the actual default (was hardcoded false).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zapper titles set
g_zapper_enabled=1but the mouse-as-lightgun was gated behind[zapper] mouse=true, which defaulted off — so Gumshoe/Duck Hunt were unplayable until the user hand-edited keybinds.ini. Every mouse-Zapper path is already gated ong_zapper_enabled, so defaulting mouse+crosshair ON is inert for non-Zapper games and fixes Zapper titles out of the box. Also fixes the keybinds.ini writer (was hardcodingmouse = false).🤖 Generated with Claude Code