The AROS Archives(anonymous IP: 54.83.81.52,89) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Categories

   o Audio (49)
   o Datatype (3)
   o Demo (26)
   o Development (193)
   o Document (17)
   o Driver (18)
   o Emulation (55)
   o Game (308)
   o Graphics (119)
   o Library (17)
   o Network (42)
   o Office (9)
   o Utility (169)
      o Archive (14)
      o Benchmark (7)
      o Communication (0)
      o Docky (1)
      o Filetool (16)
      o Hardware (5)
      o Misc (32)
      o Print (3)
      o Scientific (17)
      o Shell (23)
      o Text (30)
      o Workbench (17)
   o Video (18)

Total files: 1043

Full index file. Download
Recent index file. Download




Hosted by
aros-exec.org
 Readme for:  Utility » Misc » joytest.i386-aros.zip

joytest

Description: joypad test prints lowlevel data to the shell.
Download: joytest.i386-aros.zip       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 7kb
Version: 1.0
Date: 13 Jun 17
Author: cavemann
Submitter: cavemann
Email: cavemann1976/gmail com
Category: utility/misc
License: APL
Distribute: yes
FileID: 1606
 
Comments: 0
Snapshots: 0
Downloads: 31  (Current version)
31  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show content] [Replace file] 
Joytest is a joypad test that prints the lowlevel JoyPort data to the shell.

Joytest is derived from the C code of the AROS joystick test found in the
drawer, tests/misc. I am not a legal eagle so joytest.c is apl too,
and my thanks go to the author(s) of joystick.c.

The changes are purely cosmetic. The only goal was to simplify the output to
make the data easier for me to follow. So if the current joystick test can
make you scratch your head, you might try this alternative.

For convenience this test displays the JoyPort ULONG data as four bytes.
The output seems more easy to read in this way (even though some bit fields
are not perfectly aligned).

Also, the old Cd32 button names have been replaced with the #define button
name and the button sequence. Atm, the lowlevel game controller is limited
to 7 buttons, so some of the extra buttons on your joypad may not respond.

The program reads the default JoyPort 1 (if no argument is given).
And CTRL-C exits back to the shell prompt.

-cavemann


Copyright (c) 2005 The AROS Archives All Rights Reserved
Contact us at: archives@aros-exec.org