Module key

Key functions

Info:

  • Copyright: 2014
  • License: GPL
  • Author: Magic Lantern Team

Functions

press (key) Send a keypress.
wait ([key[, timeout]]) Wait for a key to be pressed.

Fields

last The last key that was pressed.


Functions

press (key)
Send a keypress.

Parameters:

  • key int the key to press
wait ([key[, timeout]])
Wait for a key to be pressed.

Parameters:

  • key int (optional)
  • timeout int (optional)

Returns:

    int the key that was pressed

Fields

last
The last key that was pressed.
  • last int
generated by LDoc 1.4.3 Last updated 2016-04-23 15:53:20