{{htmlmetatags>metatag-robots=()
metatag-title=(JOY X | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for JOY X)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(JOY X | ugBASIC User Manual)
metatag-og:description=(Manual page for JOY X)
}}
====== ugBASIC User Manual ======
===== JOY X =====
===== SYNTAX =====
= JOY X( port )
==== PURPOSE ====
Read the horizontal axys of an analogical joystick, if it is present.
A negative value means "left" while a positive one means "right".
The value near 0 means "no direction".
==== EXAMPLE ====
x = JOY X(0)
==== ABBREVIATION ====
JyX
==== AVAILABLE ON ====
* TRS-80 Color Computer
* TRS-80 Color Computer 3
* Dragon 32
* Dragon 64
==== ALIAS FOR ====
[[JOYX]]
==== ANY PROBLEM? ====
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON JOY X|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]