Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

generatekeyevent

Syntax

generatekeyevent ('<data>')

Description

Functionality of generatekeyevent is similar to typekey of LTFX project.

Implementation

Used SPI_generateKeyboardEvent to generate the keyboard events.

Return values:
Returns 1 on success, LdtpExecutionError exception will be thrown on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/device.c

Example

generatekeyevent ('Testing LDTP\'s enterstring function')

Author:
Prashanth Mohan <prashmohan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index