User Tools

Site Tools


ugbasic:user:kw:joy_x
Translations of this page:


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

 Jy X

AVAILABLE ON

  • TRS-80 Color Computer
  • TRS-80 Color Computer 3
  • Dragon 32
  • Dragon 64

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY