MeshLib Documentation
Loading...
Searching...
No Matches
MR::TouchpadParameters Struct Reference

#include <MRTouchpadParameters.h>

Public Types

enum class  SwipeMode { SwipeRotatesCamera = 0 , SwipeMovesCamera = 1 , Count }
 swipe processing mode More...
 

Public Attributes

bool ignoreKineticMoves = false
 most touchpads implement kinetic (or inertial) scrolling, this option disables handling of these events
 
bool cancellable = false
 enable gesture's cancellability, i.e. revert its changes in case of external interruption
 
enum MR::TouchpadParameters::SwipeMode swipeMode = SwipeMode::SwipeRotatesCamera
 

Member Enumeration Documentation

◆ SwipeMode

swipe processing mode

Enumerator
SwipeRotatesCamera 
SwipeMovesCamera 
Count 

Member Data Documentation

◆ cancellable

bool MR::TouchpadParameters::cancellable = false

enable gesture's cancellability, i.e. revert its changes in case of external interruption

◆ ignoreKineticMoves

bool MR::TouchpadParameters::ignoreKineticMoves = false

most touchpads implement kinetic (or inertial) scrolling, this option disables handling of these events

◆ swipeMode

enum MR::TouchpadParameters::SwipeMode MR::TouchpadParameters::swipeMode = SwipeMode::SwipeRotatesCamera

The documentation for this struct was generated from the following file: