(anonymous IP: 3.142.156.58,352) | ||||||||||||||
| ||||||||||||||
Audio (96) Datatype (15) Demo (50) Development (247) Document (62) Driver (19) Emulation (62) Game (529) Graphics (224) Library (22) Network (62) Office (21) Utility (250) Video (18) Total files: 1677 Full index file Recent index file Part of aros exec |
[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 |