ig.CONFIG.

GESTURE

Gesture configuration settings. IMPORTANT: Don't modify config directly! (see example)

Author:
  • Collin Hover - collinhover.com
Source:
// in order to add your own custom configuration to Impact++
// edit the file defining ig.CONFIG_USER, 'plusplus.config-user'
// ig.CONFIG_USER is never modified by Impact++ (it is strictly for your use)
// ig.CONFIG_USER is automatically merged over Impact++'s config

<static> DIRECTION_SWITCH_PCT :Number

Min distance that needs to be crossed to trigger input to switch direction, as a percent of min screen dimension from 0 to 1.

Default Value:
  • 0.03
Source:

<static> HOLD_ACTIVATE_DISTANCE_PCT :Number

Max distance that can be crossed while holding down to do a hold activate, as a percent of min screen dimension from 0 to 1.

Default Value:
  • 0.01
Source:

<static> HOLD_DELAY :Number

Time in seconds before holding.

Default Value:
  • 0.15
Source:

<static> HOLD_DELAY_ACTIVATE :Number

Time in seconds before hold activates.

Default Value:
  • 0.5
Source:

<static> HOLD_DELAY_BLOCK_TAP :Number

Time in seconds before hold blocks tap

Default Value:
  • 0.3
Source:

<static> RELEASE_DELAY :Number

Time to wait before cleaning input point after release.

Default Value:
  • 0.3
Source:

<static> SWIPE_DISTANCE_PCT :Number

Distance to move before considered swiping, as a percent of min screen dimension from 0 to 1.

Default Value:
  • 0.05
Source:

<static> SWIPE_DURATION_RESET :Number

Duration in seconds after which swipe try will be reset.

Default Value:
  • 0.1
Source:

<static> SWIPE_DURATION_TRY :Number

Duration in seconds within which swipe distance must be crossed to be considered swiping.

Default Value:
  • 0.3
Source:

<static> TAP_MULTI_DISTANCE_PCT :Number

Max distance that can be crossed between taps to do a multi tap, as a percent of min screen dimension from 0 to 1.

Default Value:
  • 0.05
Source:

<static> TARGET_DOWN :Number

Input point should record targets whenever input moves while pressed down.

Default Value:
  • false
Source:

<static> TARGET_DOWN_START :Number

Input point should record targets on the first time input is pressed down.

Default Value:
  • true
Source:

<static> TARGET_SEARCH_RADIUS :Number

Extra radius to search for targets outside input point x/y.

Default Value:
  • 10
Source:

<static> TARGET_TAP :Number

Input point should record targets on tap.

Default Value:
  • true
Source:

<static> TARGET_UP :Number

Input point should record targets whenever moved while input is up (mouse only).

Default Value:
  • false
Source: