AminetAminet
Search:
84473 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/boot/GetMouseInput.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:V1.4 - read mouse button state
Author:tim at timj.co.uk (Tim Jackson)
Uploader:tim timj co uk (Tim Jackson)
Type:util/boot
Version:1.4
Architecture:m68k-amigaos >= 2.0.4
Date:2006-12-31
Download:http://aminet.net/util/boot/GetMouseInput.lha - View contents
Readme:http://aminet.net/util/boot/GetMouseInput.readme
Downloads:1058

GetMouseInput is a very simple program which reads the state of the mouse
buttons from a mouse connected to either the mouse or gameport and sends
the output:

- to an global (environment) variable called MouseInput
- to a local variable called MouseInput
- to stdout
- any combination of the above

The result can then be read from AmigaDOS scripts etc.

Very useful in startup-sequence to select different startup files.


Changes from V1.3 to V1.4
- New GAMEPORT option to allow reading from a mouse connected to the gameport

Changes from V1.2 to V1.3
- Can now write output to local variable
- Bugfix to clean up properly on exit
- A few documentation corrections


Contents of util/boot/GetMouseInput.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxrwxr-x   500/500         0       0 ****** -lhd- 0000 Sep 29  2002 GetMouseInput/
-rw-rw-r--   500/500      1044    1616  64.6% -lh7- 53d5 Dec 12  1999 GetMouseInput/GetMouseInput
-rw-rw-r--   500/500      4435   11694  37.9% -lh7- b773 Sep 29  2002 GetMouseInput/GetMouseInput.guide
-rw-rw-r--   500/500      1346    4630  29.1% -lh7- bf1f Dec 12  1999 GetMouseInput/GetMouseInput.guide.info
-rw-rw-r--   500/500       228     414  55.1% -lh7- 6dec Dec 12  1999 GetMouseInput/SampleScriptGLOBAL
-rw-rw-r--   500/500       204     372  54.8% -lh7- 47f6 Dec 12  1999 GetMouseInput/SampleScriptLOCAL
-rw-rw-r--   500/500       205     371  55.3% -lh7- 3561 Dec 12  1999 GetMouseInput/SampleScriptSTDOUT
-rw-rw-r--   500/500       559    2273  24.6% -lh7- ff1e Dec 12  1999 GetMouseInput.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files    8021   21370  37.5%            Dec 31 21:36

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>