TPAD_$INQ_DTYPE Domain/OS TPAD_$INQ_DTYPE
NAME
tpad_$inq_dtype - return the last locator used
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/tpad.h>
tpad_$dev_type_t tpad_$inq_dtype(void)
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/tpad.ins.pas';
function tpad_$inq_dtype : tpad_$dev_type_t;
SYNOPSIS (FORTRAN)
%include '/sys/ins/base.ins.ftn'
%include '/sys/ins/tpad.ins.ftn'
integer*2 device
device = tpad_$inq_dtype
DESCRIPTION
This call returns a value indicating the last locator used for input.
The returned value can be one of the following:
tpad_$have_bitpad
A bitpad provided the last locator input.
tpad_$have_mouse
A mouse provided the last locator input.
tpad_$have_touchpad
A touchpad provided the last locator input.
tpad_$unknown
No locator input was received since the node was last booted.
SEE ALSO
tpad_$inquire.