[wish] Navigate through map by scrolling

Bug #543779 reported by Pechente
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Status tracked in S25client
S25client
Fix Released
Wishlist
FloSoft

Bug Description

Many modern input devices like some mice and trackpads support horizontal scrolling as well as vertical scrolling. Since scrolling currently doesn't serve any purpose ingame, it would be great if it could be used to navigate through the map so that this game could take advantage of modern peripherals. Along with this feature there should definitely be an option to invert the movement.

Tags: all-rev
Revision history for this message
Stefan Kriwanek (Divan) (dev-stefankriwanek) wrote :

This patch adds the revert-scroll-direction option in the "advanced" dialog. Until it becomes merged one can also change the option "interface/revert_mouse" to 1 in CONFIG.INI.

Concerning scrolling with mouse-wheel or -ball:
Most people are using SDL, and this framework won't support horizontal mouse wheel messages until its next major release. Pechente, if you use Windows and have enough performance to play with WinApi selected, and WinApi does support horizontal mouse wheels (don't know): Feel free to find me some reference and I'll make the code for it.

Changed in s25rttr:
assignee: nobody → FloSoft (flosoft)
status: New → Fix Committed
Revision history for this message
Pechente (pechente) wrote :

Thanks for submitting a patch ;) I didn't know SDL doesn't support vertical scrolling, so I guess I'll have to wait for my suggestion to be implemented. I'm playing on Mac OS X and on Bootcamp non of my peripherals that support vertical scrolling work, so there is no way for me to test this feature.

Revision history for this message
FloSoft (flosoft) wrote : Re: [Bug 543779] Re: [wish] Navigate through map by scrolling

no: vertical-scrolling should work, but horizontal-scrolling does not

Am 27.03.2010 17:42, schrieb Pechente:
> Thanks for submitting a patch ;) I didn't know SDL doesn't support
> vertical scrolling, so I guess I'll have to wait for my suggestion to be
> implemented. I'm playing on Mac OS X and on Bootcamp non of my
> peripherals that support vertical scrolling work, so there is no way for
> me to test this feature.
>

Revision history for this message
Pechente (pechente) wrote :

Sorry, that's what I meant.

Revision history for this message
FloSoft (flosoft) wrote :

did i applied it already? if not, can you provide a patch to the current rev?

Changed in s25rttr:
importance: Undecided → Wishlist
status: Fix Committed → Fix Released
tags: added: all-rev
Changed in s25rttr:
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.