From bf6b2d95dd03cec8da7158fbe8e7fdcd0bee7f9f Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Sun, 7 Sep 2014 23:46:51 +0200 Subject: [PATCH] tetris/input.c: taking more countermeasures against joystick chatter --- src/games/tetris/input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/games/tetris/input.c b/src/games/tetris/input.c index 6e074d5..5340bc8 100644 --- a/src/games/tetris/input.c +++ b/src/games/tetris/input.c @@ -50,11 +50,11 @@ #define TETRIS_INPUT_REPEAT_DELAY 5 /** Number of loop cyles the left button is ignored */ -#define TETRIS_INPUT_CHATTER_TICKS_LEFT 12 +#define TETRIS_INPUT_CHATTER_TICKS_LEFT 24 /** Number of loop cyles the right button is ignored */ -#define TETRIS_INPUT_CHATTER_TICKS_RIGHT 12 +#define TETRIS_INPUT_CHATTER_TICKS_RIGHT 24 /** Number of loop cyles the down button is ignored */ -#define TETRIS_INPUT_CHATTER_TICKS_DOWN 12 +#define TETRIS_INPUT_CHATTER_TICKS_DOWN 24 /** Number of loop cyles the clockwise rotation button is ignored */ #define TETRIS_INPUT_CHATTER_TICKS_ROT_CW 24 /** Number of loop cyles the counter clockwise rotation button is ignored */