diff options
author | McCabe Maxsted | 2011-03-09 20:37:53 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-03-09 20:37:53 -0700 |
commit | 16ce373d14199b94729caffcb099d8a6bd37f882 (patch) | |
tree | bd513a4f6107d57f7f7a5fe1552852f8fccc277f /linden/indra/llwindow/llwindowsdl.cpp | |
parent | Fixed windows compile error (diff) | |
download | meta-impy-16ce373d14199b94729caffcb099d8a6bd37f882.zip meta-impy-16ce373d14199b94729caffcb099d8a6bd37f882.tar.gz meta-impy-16ce373d14199b94729caffcb099d8a6bd37f882.tar.bz2 meta-impy-16ce373d14199b94729caffcb099d8a6bd37f882.tar.xz |
#787: Horizontal mouse scrolling support, patch by Kakurady Drakenar
Diffstat (limited to 'linden/indra/llwindow/llwindowsdl.cpp')
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp index f7d7587..edfe33b 100644 --- a/linden/indra/llwindow/llwindowsdl.cpp +++ b/linden/indra/llwindow/llwindowsdl.cpp | |||
@@ -1731,7 +1731,10 @@ void LLWindowSDL::gatherInput() | |||
1731 | mCallbacks->handleScrollWheel(this, -1); | 1731 | mCallbacks->handleScrollWheel(this, -1); |
1732 | else if (event.button.button == 5) // mousewheel down...thanks to X11 for making SDL consider these "buttons". | 1732 | else if (event.button.button == 5) // mousewheel down...thanks to X11 for making SDL consider these "buttons". |
1733 | mCallbacks->handleScrollWheel(this, 1); | 1733 | mCallbacks->handleScrollWheel(this, 1); |
1734 | 1734 | else if (event.button.button == 6) | |
1735 | mCallbacks->handleHScrollWheel(this, -1); | ||
1736 | else if (event.button.button == 7) | ||
1737 | mCallbacks->handleHScrollWheel(this, 1); | ||
1735 | break; | 1738 | break; |
1736 | } | 1739 | } |
1737 | 1740 | ||