NCURSES_UNGETMOUSE(3) 1 NCURSES_UNGETMOUSE(3)
ncurses_ungetmouse - Pushes mouse event to queue
SYNOPSIS
bool ncurses_ungetmouse (array $mevent)
DESCRIPTION
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
Pushes a KEY_MOUSE event onto the input queue and associates with this event the given state data and screen-relative character cell coor-
dinates, specified in $mevent.
PARAMETERS
o $mevent
- An associative array specifying the event options:
o"id" : Id to distinguish multiple devices
o"x" : screen relative x-position in character cells
o"y" : screen relative y-position in character cells
o"z" : currently not supported
o"mmask" : Mouse action
RETURN VALUES
Returns FALSE on success, TRUE otherwise.
SEE ALSO
ncurses_getmouse(3).
PHP Documentation Group NCURSES_UNGETMOUSE(3)