Skip to content

Commit

Permalink
[SP] Added debug info for button presses in XInput.
Browse files Browse the repository at this point in the history
  • Loading branch information
eezstreet committed Feb 1, 2014
1 parent cd5d375 commit b9c1a60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/win32/win_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,8 @@ void IN_DoXInput( void )
dwLastXIButtonState |= (1 << 17);
else
dwLastXIButtonState &= ~(1 << 17);
if(in_debugJoystick->integer)
Com_Printf("buttons: \t%i\n", dwLastXIButtonState);
}
#endif

Expand Down

0 comments on commit b9c1a60

Please sign in to comment.