ProtoFlux:Touch Controller: Difference between revisions

From Resonite Wiki
There are so many random custom const data types. "Model". And it's only two of them!
 
Added in missing descriptions.
 
(10 intermediate revisions by 3 users not shown)
Line 34: Line 34:


This node provides information provided by Meta controllers.
This node provides information provided by Meta controllers.
== Usage ==
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 ==
=== User ([[Type:User|User]]) ===
The user to receive inputs from.
=== Node ([[Type:Chirality|Chirality]]) ===
The side to receive inputs from.
== Outputs ==
=== IsActive ([[Type:Bool|Bool]]) ===
Bool for showing if the device is active. Useful for troubleshooting if your controller is not responding.
=== Type ([[Type:Type|Type]]) ===
The controller type being used.
=== BatteryLevel ([[Type:Float|Float]]) ===
Shows the battery level of the device from 1 to 0.
=== BatteryCharging ([[Type:Bool|Bool]]) ===
Shows if the battery is currently charging.
=== Model ([[Type:Model|Model]]) ===
The controller model.
=== Start ([[Type:Bool|Bool]]) ===
Is the start button being pressed right now.
=== ButtonYB ([[Type:Bool|Bool]]) ===
Shows if Y/B is being pressed.
=== ButtonXA ([[Type:Bool|Bool]]) ===
Shows if X/A is being pressed.
=== ButtonYB_Touch ([[Type:Bool|Bool]]) ===
Shows if Y/B is being touched.
=== ButtonXA_Touch ([[Type:Bool|Bool]]) ===
Shows if X/A is being touched.
=== ThumbRestTouch ([[Type:Bool|Bool]]) ===
Shows if the thumb rest is being touched.
=== Grip ([[Type:Float|Float]]) ===
Shows a 0 to 1 value of the grip strength.
=== GripClick ([[Type:Bool|Bool]]) ===
Shows if grip is being clicked.
=== Joystick ([[Type:Float2|Float2]]) ===
Gives a 2D vector of the joystick input.
=== JoystickTouch ([[Type:Bool|Bool]]) ===
Shows if the joystick is being touched.
=== JoystickClick ([[Type:Bool|Bool]]) ===
Is the controller's joystick clicked down right now.
=== Trigger ([[Type:Float|Float]]) ===
The amount of how far this controller's trigger is being pressed down currently.
=== TriggerTouch ([[Type:Bool|Bool]]) ===
Is the controller's trigger being touched right now.
=== TriggerClick ([[Type:Bool|Bool]]) ===
Is the controller's trigger being clicked down right now.
== Examples ==
[[Category:ProtoFlux:Devices:Controllers]]

Latest revision as of 17:04, 17 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)

The controller type being used.

BatteryLevel (Float)

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

BatteryCharging (Bool)

Shows if the battery is currently charging.

Model (Model)

The controller model.

Start (Bool)

Is the start button being pressed right now.

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)

Is the controller's joystick clicked down right now.

Trigger (Float)

The amount of how far this controller's trigger is being pressed down currently.

TriggerTouch (Bool)

Is the controller's trigger being touched right now.

TriggerClick (Bool)

Is the controller's trigger being clicked down right now.

Examples