Audio (101) Datatype (15) Demo (56) Development (248) Document (63) Driver (19) Emulation (62) Game (531) Graphics (229) Library (22) Network (63) Office (22) Utility (265) Video (18)
Total files: 1714
Full index file Recent index file
Part of aros exec |
JoyTest | Description: | joypad test prints lowlevel data to the shell. | Download: | joytest.x86_64-aros-v11.zip (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 45kb | Version: | 1.0 | Date: | 16 Jan 25 | Author: | Cavemann | Submitter: | Amiwell79 | Email: | planeteu email/gmail com | Requirements: | aros x86_64v11 | Category: | utility/misc | License: | Other | Distribute: | yes | FileID: | 2979 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 48 (Current version) | | 48 (Accumulated) | Votes: | 1 (1/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
|