ProtoFlux:Touch Controller: Difference between revisions

From Resonite Wiki
m reword usage
Added in missing descriptions.
 
Line 36: Line 36:


== Usage ==
== 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.
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 ==
=== User ([[Type:User|User]]) ===
=== User ([[Type:User|User]]) ===
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.


== Outputs ==
== Outputs ==
=== IsActive ([[Type:Bool|Bool]]) ===
=== IsActive ([[Type:Bool|Bool]]) ===
Bool for showing if the device is active. Useful for troubleshooting if your controller is not responding.
Bool for showing if the device is active. Useful for troubleshooting if your controller is not responding.


=== Type ([[Type:Type|Type]]) ===
=== Type ([[Type:Type|Type]]) ===
The controller type being used.


=== BatteryLevel ([[Type:Float|Float]]) ===
=== BatteryLevel ([[Type:Float|Float]]) ===
Line 59: Line 67:
Shows if the battery is currently charging.
Shows if the battery is currently charging.


=== Model ===
=== Model ([[Type:Model|Model]]) ===
 
The controller model.


=== Start ([[Type:Bool|Bool]]) ===
=== Start ([[Type:Bool|Bool]]) ===
Is the start button being pressed right now.


=== ButtonYB ([[Type:Bool|Bool]]) ===
=== ButtonYB ([[Type:Bool|Bool]]) ===
Shows if Y/B is being pressed.
Shows if Y/B is being pressed.


=== ButtonXA ([[Type:Bool|Bool]]) ===
=== ButtonXA ([[Type:Bool|Bool]]) ===
Shows if X/A is being pressed.
Shows if X/A is being pressed.


=== ButtonYB_Touch ([[Type:Bool|Bool]]) ===
=== ButtonYB_Touch ([[Type:Bool|Bool]]) ===
Shows if Y/B is being touched.
Shows if Y/B is being touched.


=== ButtonXA_Touch ([[Type:Bool|Bool]]) ===
=== ButtonXA_Touch ([[Type:Bool|Bool]]) ===
Shows if X/A is being touched.
Shows if X/A is being touched.


=== ThumbRestTouch ([[Type:Bool|Bool]]) ===
=== ThumbRestTouch ([[Type:Bool|Bool]]) ===
Shows if the thumb rest is being touched.
Shows if the thumb rest is being touched.


=== Grip ([[Type:Float|Float]]) ===
=== Grip ([[Type:Float|Float]]) ===
Shows a 0 to 1 value of the grip strength.
Shows a 0 to 1 value of the grip strength.


=== GripClick ([[Type:Bool|Bool]]) ===
=== GripClick ([[Type:Bool|Bool]]) ===
Shows if grip is being clicked.
Shows if grip is being clicked.


=== Joystick ([[Type:Float2|Float2]]) ===
=== Joystick ([[Type:Float2|Float2]]) ===
Gives a 2D vector of the joystick input.
Gives a 2D vector of the joystick input.


=== JoystickTouch ([[Type:Bool|Bool]]) ===
=== JoystickTouch ([[Type:Bool|Bool]]) ===
Shows if the joystick is being touched.
Shows if the joystick is being touched.


=== JoystickClick ([[Type:Bool|Bool]]) ===
=== JoystickClick ([[Type:Bool|Bool]]) ===
Is the controller's joystick clicked down right now.


=== Trigger ([[Type:Float|Float]]) ===
=== Trigger ([[Type:Float|Float]]) ===
The amount of how far this controller's trigger is being pressed down currently.


=== TriggerTouch ([[Type:Bool|Bool]]) ===
=== TriggerTouch ([[Type:Bool|Bool]]) ===
Is the controller's trigger being touched right now.


=== TriggerClick ([[Type:Bool|Bool]]) ===
=== TriggerClick ([[Type:Bool|Bool]]) ===
Is the controller's trigger being clicked down right now.


== Examples ==
== Examples ==


[[Category:ProtoFlux:Devices]]
[[Category:ProtoFlux:Devices:Controllers]]
[[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