Skip to content

Built in Gestures

Jake Waffle edited this page Jan 20, 2016 · 4 revisions

Mouse Control

Description

This gesture activates when the chosen arm is extended straight out in front of the user. The user then moves their hand within a square that has its center aligned with the arm's shoulder. The gesture will update the mouse's position for as long as the user's arm is doing the gesture. The movement of the mouse is also analog and will be scaled depending on how far away from the center of the square the user's hand is.

Syntax

Below is an example of the syntax for the .gdef config file. Put it underneath any of your states.

premade_gesture mouse
    armId is left

or

premade_gesture mouse
    armId is right
Clone this wiki locally