Inputread() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

inputRead()

Prototype
int inputRead(int inHdl)
Parameters
The device handle obtained from opening the device with
inHdl
inputOpen().
Return Values
The function will return a value of int size from the device. Currently, touchpad and
mouse events are not captured. Only keyboard and scanner data can be read.
The function will return the ASCII value or the raw scancode of the key pressed or
data scanned. If this function is called in a loop, data can be continually read from
the keyboard or scanner device thereby allowing capturing of data as it is entered/
scanned.
The function will return a negative value if the device corresponding to the handle
cannot be found. If no data is read then 0 is returned.
X
M
800 S
P
ERIES
ROGRAMMERS
I
E
NPUT
VENTS
inputRead()
253
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents