コード例 #1
0
 def setUseStabilizedPalm(self, useStabilized):
     self.leftHand.setUseStabilizedPalm(useStabilized)
     self.rightHand.setUseStabilizedPalm(useStabilized)
     settings.setGestureValue('useStabilizedPalm', useStabilized)
コード例 #2
0
 def setSmoothRange(self, windowSize):
     self.leftHand.setSmoothRange(windowSize)
     self.rightHand.setSmoothRange(windowSize)
     settings.setGestureValue('smoothRange', windowSize)
コード例 #3
0
 def setDwellRange(self, rangeInPixels):
     self.leftHand.setDwellRange(rangeInPixels)
     self.rightHand.setDwellRange(rangeInPixels)
     settings.setGestureValue('dwellRange', rangeInPixels)
コード例 #4
0
 def setAttentionStalePeriod(self, duration):
     self.leftHand.setAttentionStalePeriod(duration)
     self.rightHand.setAttentionStalePeriod(duration)
     settings.setGestureValue('attentionPeriod', duration)
コード例 #5
0
 def setDwellDuration(self, duration):
     self.leftHand.setDwellDuration(duration)
     self.rightHand.setDwellDuration(duration)
     settings.setGestureValue('dwellDuration', duration)
コード例 #6
0
 def setAcceleration(self, acceleration):
     self.acceleration = acceleration
     settings.setGestureValue('acceleration', acceleration)
コード例 #7
0
 def setPrescale(self, prescale):
     self.prescale = prescale
     settings.setGestureValue('prescale', prescale)
コード例 #8
0
 def setReleaseThreshold(self, threshold):
     self.releaseThreshold = threshold
     settings.setGestureValue('releaseThreshold', threshold)
コード例 #9
0
 def setGrabThreshold(self, threshold):
     self.grabThreshold = threshold
     settings.setGestureValue('grabThreshold', threshold)