The AROS Archives(anonymous IP:,331) 


   o Audio (94)
   o Datatype (15)
   o Demo (44)
   o Development (242)
   o Document (61)
   o Driver (19)
   o Emulation (60)
   o Game (507)
   o Graphics (216)
   o Library (22)
   o Network (59)
   o Office (21)
   o Utility (242)
   o Video (18)

Total files: 1620

Full index file
Recent index file

Part of aros exec
 Readme for:  Utility » Misc »


Description: joypad test prints lowlevel data to the shell.
Download:       (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: 98  (Current version)
98  (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.


Copyright © 2005 - 2024 The AROS Archives All Rights Reserved