Version: 2022.3
LanguageEnglish
  • C#

Remote.reportAbsoluteDpadValues

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool reportAbsoluteDpadValues;

Description

Configures how touches are mapped to analog joystick axes in relative or absolute values.

When set to true, touching the far right of the remote touch area will return +1 on the horizontal axis and touching the far left will return -1. The same applies for touches on the vertical axis. When this property is set to false, the user needs to swipe instead of touching specific areas of the remote to generate horizontal or vertical input. The default setting is false.