Приглашаем посетить
Культурология (cult-lib.ru)

Reference: Input

PreviousChapter 19
Win32 Modules and Extensions
Next
 

Input

$cons->Input

Reads an event from the input buffer. Returns a list of values, determined by the type of event. A keyboard event will contain the following values, in order:

A mouse event will return the following values, in order:

This method will return undef on error.

Note that the events returned depend on the input mode of the console; for example, mouse events are not intercepted unless ENABLE_MOUSE_INPUT is specified.


PreviousHomeNext
Reference: InfoBook IndexReference: InputChar