Int 15H [PS/2] Function C2H (194) Subfunction 01H Reset pointing device

Resets the system's mouse or other pointing device, setting the sample rate, resolution, and other characteristics to their default values.

Call with:

AH = C2H

AL = 01H

Returns:

If function successful

Carry flag = clear

AH = 00H

BH = device ID

If function unsuccessful

Carry flag = set

AH = status (see Int 15H Function C2H Subfunction 00H)

Notes:

After a reset operation, the state of the pointing device is as follows:

disabled;

sample rate at 100 reports per second;

resolution at 4 counts per millimeter;

and scaling at 1 to 1.

The data package size is unchanged by this function.

The application can use the other Int 15H Function C2H subfunctions to initialize the pointing device to other sample rates, resolution, and scaling, and then enable the device with Int 15H Function C2H Subfunction 00H.

See also Int 15H Function C2H Subfunction 05H, which incidentally resets the pointing device in a similar manner.