Difference between revisions of "Component: Joystick (Controls)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==Joystick component== | ==Joystick component== | ||
A simple joystick component allowing for easy mouse or touchscreen based analogue control. | A simple joystick component allowing for easy mouse or touchscreen based analogue control. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | SCADA | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:22, 7 January 2022
Author | Matrix TSL |
Version | 1.0 |
Category | Controls |
Contents
Joystick component
A simple joystick component allowing for easy mouse or touchscreen based analogue control.
Component Pack
SCADA
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
ReadAxisAsFloat |
Reads a single axis of the joystick and returns as a floating point value. | |
![]() |
Axis |
Range 0-1 Where 0=X, 1=Y | |
![]() |
Return |
![]() |
ReadAxisAsInt |
Reads a single axis of the joystick and returns as a signed integer value. | |
![]() |
Axis |
Range 0-1 Where 0=X, 1=Y | |
![]() |
Return |