fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Add swiping support for castle and hero dialogs

Open ihhub opened this issue 2 years ago • 1 comments

Preliminary checks

Describe the problem requiring a solution

On mobile phone browsing between heroes and castles is very difficult because a user should press tiny arrow buttons to switch ti another hero or castle.

Describe the possible solution

Add swiping support for these dialogs. It can be done only for touchscreen devices and mouse is still the most accurate pointing device and keyboard is even faster.

Additional info

No response

ihhub avatar Apr 27 '23 16:04 ihhub

Out of interest, would fheroes2 be able to recognise when the user has a laptop with a touchscreen for example, by the inertial nature of the movement? So a player could mostly take actions with the mouse but occasionally with touchscreen instead, for example, in the same session.

Web browsers do this as do many Microsoft applications, and they adjust their behaviour accordingly.

superuser-does avatar Nov 30 '25 10:11 superuser-does