Skip to content

Commit 4571877

Browse files
committed
inputsystem: Fix keypad key check
See ValveSoftware/source-sdk-2013#1709
1 parent 160f983 commit 4571877

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/inputsystem/ButtonCode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ inline bool IsSpace( ButtonCode_t code )
311311

312312
inline bool IsKeypad( ButtonCode_t code )
313313
{
314-
// dimhotepus: Fix lower bound check.
314+
// dimhotepus: Fix lower bound check. See https://github.com/ValveSoftware/source-sdk-2013/pull/1709
315315
return ( code >= KEY_PAD_0 ) && ( code <= KEY_PAD_DECIMAL );
316316
}
317317

0 commit comments

Comments
 (0)