Skip to content

Conversation

@haoxv
Copy link

@haoxv haoxv commented Dec 31, 2025

Ring to thumb pinch and little finger to thumb pinch are not reliable for many head set. This change adds option to use grab (pinch) and move gesture to imitate scrolling and knob turning. This is espeically useful for MSFS 2020 as it does not support touch screen. The feature is enabled when "Pinch to scroll" is disabled in HTCCSettings.

Copy link
Owner

@fredemmott fredemmott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is a great start :)

  1. this needs a separate option in both the UI and the registry: there are controls in some planes that must be held, but also support scrolling - so there needs to be a way to disable this. I don't think there's a reasonable jitter value that won't have a large amount of either false positives or negatives, so I think this needs to be user preference

  2. use clang-format. If you're using an IDE, its' code formatting option will probably use clang-format as thhere's a .clang-format file

@haoxv
Copy link
Author

haoxv commented Jan 2, 2026

Can we reuse Config::PinchToScroll to differentiate between different gestures for scrolling, use ring and little finger pinch if true, and index finger pinch and move if false? Or we add another reg item GrabMovetoScroll and keep PinchToScroll always true?

@fredemmott
Copy link
Owner

Sorry for the delay; I think this should be a separate option.

PinchToScroll should be entirely independent, and only affect other fingers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants