nvda
2b029d18 - Added mouse wheel scrolling commands (#16462)

Commit
1 year ago
Added mouse wheel scrolling commands (#16462) cary-rowen Contributor cary-rowen commented on Apr 30 • Link to issue number: Closes #15484 Summary of the issue: Some dynamically loaded web pages and desktop applications, such as Dism++, only allow scrolling via the hardware mouse wheel to display more content. NVDA can only interact with these through screen review mode. However, to load more items, mouse wheel usage is required. Description of user facing changes This pull request allows users to simulate mouse wheel scrolling through gestures. Added four commands with no gestures assigned: Rotates the mouse wheel up at the current mouse position Rotates the mouse wheel down at the current mouse position Rotates the mouse wheel left at the current mouse position Rotates the mouse wheel right at the current mouse position Description of development approach I created a function within mouseHandler called scrollMouseWheel, which scrolls the mouse wheel either vertically or horizontally, controlling the scroll direction and amount. For more information about mouse events, see WM_MOUSEWHEEL. It's important to note that this function limits the scrolling per execution to winUser.WHEEL_DELTA (120) or less.
Author
Parents
Loading