Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Merge requests
  • !207

Added basic smooth scroll implementation that works in the same fashion as SetPoint

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/w-shackleton/scroll into master Mar 23, 2015
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 5

Created by: w-shackleton

Fixes #179 (closed) and addresses #158 (closed)

There is still lots of work and testing to do here, but I'd appreciate any comments and thoughts so far.

This code requires the "side scrolling" option be disabled (currently..). It then listens for when the smooth scroll button is pressed and sets the mouse into smooth scroll mode and sets the Evdev Scrolling Distance such that scrolls don't overshoot. It also disables the mouse button that represents the smooth scroll button since that button being pressed all the time interferes with changing windows and so on.

It also sets the horizontal scrolling distance to a large number to make fast side scrolls behave reasonably when "side scrolling" is disabled (this gives a smooth effect for side scrolls too).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/w-shackleton/scroll