rex_tilt2arrowKey
Introduction
Get arrow key event from tilt's beta and gamma input.
Get arrow key event from tilt's beta and gamma input.
Arrow-key events
Conditions in "Pressd", or "Released" categories will be triggered when tilting the device.
Conditions in "Pressd", or "Released" categories will be triggered when tilting the device.
Rotate angle, and ZERO angle
The rotate angle is related to a ZERO angle set by "Calibration" in properties table, or "Action:Calibration". i.e.
The rotate angle is related to a ZERO angle set by "Calibration" in properties table, or "Action:Calibration". i.e.
rotate angle = tilting angle - ZERO angle
User could get ZERO angle by "Expression:ZEROUD", or "Expression:ZEROLR". And get current rotate angle by "Expression:RotateUD" or "Expression:RotateLR" for up-down or left-right side.
Dead zone
The rotate angle is judged to be a key-down if it is larger then a specific angle set by "Sensitivity" in properties table, or "Action:Set sensitivity angle".
The rotate angle is judged to be a key-down if it is larger then a specific angle set by "Sensitivity" in properties table, or "Action:Set sensitivity angle".