From 4573560c6179d922337054451b15369f51c25359 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 25 Sep 2011 10:08:23 +0000 Subject: increase keyboard scroll speed to 10px svn path=/trunk/netsurf/; revision=12875 --- amiga/gui.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 4e4cbf133..b56b2eb06 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -127,6 +127,8 @@ #include #include +#define NSA_KBD_SCROLL_PX 10 + /* Extra mouse button defines to match those in intuition/intuition.h */ #define SIDEDOWN (IECODE_4TH_BUTTON) #define SIDEUP (IECODE_4TH_BUTTON | IECODE_UP_PREFIX) @@ -1497,24 +1499,24 @@ void ami_handle_msg(void) case KEY_UP: gui_window_set_scroll(gwin->bw->window, gwin->bw->window->scrollx, - gwin->bw->window->scrolly - 5); + gwin->bw->window->scrolly - NSA_KBD_SCROLL_PX); break; case KEY_DOWN: gui_window_set_scroll(gwin->bw->window, gwin->bw->window->scrollx, - gwin->bw->window->scrolly + 5); + gwin->bw->window->scrolly + NSA_KBD_SCROLL_PX); break; case KEY_LEFT: gui_window_set_scroll(gwin->bw->window, - gwin->bw->window->scrollx - 5, + gwin->bw->window->scrollx - NSA_KBD_SCROLL_PX, gwin->bw->window->scrolly); break; case KEY_RIGHT: gui_window_set_scroll(gwin->bw->window, - gwin->bw->window->scrollx + 5, + gwin->bw->window->scrollx + NSA_KBD_SCROLL_PX, gwin->bw->window->scrolly); break; -- cgit v1.2.3