diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/fiiom3k/button-fiiom3k.c')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/fiiom3k/button-fiiom3k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_x1000/fiiom3k/button-fiiom3k.c b/firmware/target/mips/ingenic_x1000/fiiom3k/button-fiiom3k.c index 4354257f7b..04e3102d42 100644 --- a/firmware/target/mips/ingenic_x1000/fiiom3k/button-fiiom3k.c +++ b/firmware/target/mips/ingenic_x1000/fiiom3k/button-fiiom3k.c | |||
@@ -45,11 +45,11 @@ | |||
45 | #define STATE_SCROLLING 4 | 45 | #define STATE_SCROLLING 4 |
46 | 46 | ||
47 | /* Assume there's no active touch if no event is reported in this time */ | 47 | /* Assume there's no active touch if no event is reported in this time */ |
48 | #define AUTORELEASE_TIME (10000 * OST_TICKS_PER_US) | 48 | #define AUTORELEASE_TIME (40 * 1000 * OST_TICKS_PER_US) |
49 | 49 | ||
50 | /* If there's no significant motion on the scrollbar for this time, | 50 | /* If there's no significant motion on the scrollbar for this time, |
51 | * then report it as a button press instead */ | 51 | * then report it as a button press instead */ |
52 | #define SCROLL_PRESS_TIME (100000 * OST_TICKS_PER_US) | 52 | #define SCROLL_PRESS_TIME (400 * 1000 * OST_TICKS_PER_US) |
53 | 53 | ||
54 | /* If a press on the scrollbar moves more than this during SCROLL_PRESS_TIME, | 54 | /* If a press on the scrollbar moves more than this during SCROLL_PRESS_TIME, |
55 | * then we enter scrolling mode. */ | 55 | * then we enter scrolling mode. */ |