ProtoFlux:Touch Controller: Difference between revisions

From Resonite Wiki
→‎Usage: stuff works but aint not
Added in missing descriptions.
 
(3 intermediate revisions by one other user not shown)
Line 36: Line 36:


== Usage ==
== Usage ==
just input chirality for the users left or right controller and a accomodating user and it will provide values such as


{| class="wikitable sortable"
You can input a [[Type:User|user]] reference and a [[Type:Chirality|chirality]] to read the status and inputs of a user's controller.
|-
 
! Name !! Value
== Inputs ==
| Is active || [[Boolean]]
 
| Type || "<Replace me!>"
=== User ([[Type:User|User]]) ===
| Battery level || [[Float]]
 
| Is Battery Charging || [[Boolean]]
The user to receive inputs from.
| Model || frooxengine controller model
 
| Start || [[Boolean]]
=== Node ([[Type:Chirality|Chirality]]) ===
| ButtonYB || [[Boolean]]
 
| ButtonXA || [[Boolean]]
The side to receive inputs from.
| ButtonYB_touch || [[Boolean]]
 
| ButtonXA_touch || [[Boolean]]
== Outputs ==
| ThumbRestTouch || [[Boolean]]
 
| Grip || [[Float]]
=== IsActive ([[Type:Bool|Bool]]) ===
| GripClick || [[Boolean]]
 
| JoystickClick || [[Boolean]]
Bool for showing if the device is active. Useful for troubleshooting if your controller is not responding.
| Trigger || [[Float]]
 
| TriggerTouch || [[Boolean]]
=== Type ([[Type:Type|Type]]) ===
| TriggerClick || [[Boolean]]
 
|}
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 ==
== 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