diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-04-05 15:41:41 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-04-05 15:41:41 +1000 |
commit | d1cf8ce827d553d8133e9e104757eab9e0868d2a (patch) | |
tree | 212431c6930856f00a60e055d9fd0c3de2a7c2e0 | |
parent | 167387fd92cc204a38bc0afa75b66889dec3decf (diff) | |
download | petitboot-d1cf8ce827d553d8133e9e104757eab9e0868d2a.zip petitboot-d1cf8ce827d553d8133e9e104757eab9e0868d2a.tar.gz |
Small change to acceleration curves
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | petitboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/petitboot.c b/petitboot.c index ea7dc57..236d8e7 100644 --- a/petitboot.c +++ b/petitboot.c @@ -290,7 +290,7 @@ static void pboot_rpane_draw(twin_window_t *window) static twin_time_t pboot_rfocus_timeout (twin_time_t now, void *closure) { int dir = 1, dist, pos; - const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 2, 3, 4, 5 }; + const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 1, 2, 2, 3 }; dist = abs(pboot_rpane->focus_target - pboot_rpane->focus_start); dir = dist > 5 ? 5 : dist; @@ -571,7 +571,7 @@ static void pboot_create_rpane(void) static twin_time_t pboot_lfocus_timeout (twin_time_t now, void *closure) { int dir = 1, dist, pos; - const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 2, 3, 4, 5 }; + const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 1, 2, 2, 3 }; dist = abs(pboot_lpane->focus_target - pboot_lpane->focus_start); pos = pboot_lpane->focus_target - (int)pboot_lpane->focus_box.top; |