Skip to content

keybinds: enable mouse-Zapper by default (fixes Gumshoe/Duck Hunt unplayable)#16

Open
mstan wants to merge 1 commit into
masterfrom
feature/zapper-default-on
Open

keybinds: enable mouse-Zapper by default (fixes Gumshoe/Duck Hunt unplayable)#16
mstan wants to merge 1 commit into
masterfrom
feature/zapper-default-on

Conversation

@mstan

@mstan mstan commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Zapper titles set g_zapper_enabled=1 but 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 on g_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 hardcoding mouse = false).

🤖 Generated with Claude Code

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).
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