Skip to content

Fix incorrect logic in IsKeypad#1709

Open
Rainyan wants to merge 1 commit intoValveSoftware:masterfrom
Rainyan:bug/is-keypad
Open

Fix incorrect logic in IsKeypad#1709
Rainyan wants to merge 1 commit intoValveSoftware:masterfrom
Rainyan:bug/is-keypad

Conversation

@Rainyan
Copy link
Copy Markdown

@Rainyan Rainyan commented Dec 15, 2025

Fix a bug where IsKeypad would always return false, because the button
code input was being compared against an incorrect enum value for the
lower bound.
Generalisk added a commit to Generalisk/SourceSDK-Generalisk that referenced this pull request Jan 9, 2026
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.

IsKeypad function logic is incorrect

1 participant