The AROS Archives(anonymous IP: 3.142.156.58,352) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (96)
   o Datatype (15)
   o Demo (50)
   o Development (247)
   o Document (62)
   o Driver (19)
   o Emulation (62)
   o Game (529)
   o Graphics (224)
   o Library (22)
   o Network (62)
   o Office (21)
   o Utility (250)
   o Video (18)

Total files: 1677

Full index file
Recent index file

Part of aros exec
 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
Videos: 0
Downloads: 101  (Current version)
101  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [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 © 2005 - 2024 The AROS Archives All Rights Reserved