Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/console.cc')
-rw-r--r--src/ui/console.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/console.cc b/src/ui/console.cc
index 759d67d..0b7c278 100644
--- a/src/ui/console.cc
+++ b/src/ui/console.cc
@@ -155,11 +155,12 @@ bool Console::on_keypress(const int key, const unsigned int modifier)
}
return true;
break;
+ case 512 + SDL_BUTTON_WHEELUP:
case SDLK_PAGEUP:
console_scrollpane->inc_scroll(scroll_offset);
return true;
break;
-
+ case 512 + SDL_BUTTON_WHEELDOWN:
case SDLK_PAGEDOWN:
console_scrollpane->dec_scroll(scroll_offset);
return true;