ProtoFlux:Touch Controller: Difference between revisions

From Resonite Wiki
Edit page to be more consistent with index controller page
m reword usage
Line 36: Line 36:


== Usage ==
== Usage ==
Input chirality for the users left or right controller and an accommodating user and it will provide values such as
You can input a [[Type:User|user]] reference and a [[Type:Chirality|chirality]] to read the status and inputs of a user's controller.


== Inputs ==
== Inputs ==
Line 42: Line 42:
The user to receive inputs from.
The user to receive inputs from.


=== Node ([[Type:Chirality|Chirality)]] ===
=== Node ([[Type:Chirality|Chirality]]) ===
The side to receive inputs from.
The side to receive inputs from.



Revision as of 05:08, 15 April 2024

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Touch Controller
User
IsActive
Node
Type
BatteryLevel
IsBatteryCharging
Model
Start
ButtonYB
ButtonXA
ButtonYB_Touch
ButtonXA_Touch
ThumbRestTouch
Grip
GripClick
Joystick
JoystickTouch
JoystickClick
Trigger
TriggerTouch
TriggerClick
Controllers

This node provides information provided by Meta controllers.

Usage

You can input a user reference and a chirality to read the status and inputs of a user's controller.

Inputs

User (User)

The user to receive inputs from.

Node (Chirality)

The side to receive inputs from.

Outputs

IsActive (Bool)

Bool for showing if the device is active. Useful for troubleshooting if your controller is not responding.

Type (Type)

BatteryLevel (Float)

Shows the battery level of the device from 1 to 0.

BatteryCharging (Bool)

Shows if the battery is currently charging.

Model

Start (Bool)

ButtonYB (Bool)

Shows if Y/B is being pressed.

ButtonXA (Bool)

Shows if X/A is being pressed.

ButtonYB_Touch (Bool)

Shows if Y/B is being touched.

ButtonXA_Touch (Bool)

Shows if X/A is being touched.

ThumbRestTouch (Bool)

Shows if the thumb rest is being touched.

Grip (Float)

Shows a 0 to 1 value of the grip strength.

GripClick (Bool)

Shows if grip is being clicked.

Joystick (Float2)

Gives a 2D vector of the joystick input.

JoystickTouch (Bool)

Shows if the joystick is being touched.

JoystickClick (Bool)

Trigger (Float)

TriggerTouch (Bool)

TriggerClick (Bool)

Examples