Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QtopiaInputEvents class provides functions to simulate and access input events. More...
#include <QtopiaInputEvents>
The QtopiaInputEvents class provides functions to simulate and access input events.
The server calls sendKeyEvent() whenever it wishes to simulate a key event.
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
Adds the given keyboard filter to key events sent to Qtopia.
Note the filter is not invoked for keys generated by virtual keyboards, but only for the physical keys on the device.
See also removeKeyboardFilter().
Opens the keyboard devices specified by the QWS_KEYBOARD environment variable.
Opens the mouse devices specified by the QWS_MOUSE_PROTO environment variable.
Processes the given key event. The key is identified by its unicode value and the given keycode, modifiers, isPress and autoRepeat parameters.
The keycode parameter is the Qt keycode value as defined by the Qt::Key enum. The modifiers is an OR combination of Qt::KeyboardModifier values, indicating whether Shift/Alt/Ctrl keys are pressed. The isPress parameter is true if the event is a key press event and autoRepeat is true if the event is caused by an auto-repeat mechanism and not an actual key press.
This function is typically called internally by keyboard drivers.
See also sendKeyEvent().
Removes and deletes the most recently added filter.
Note that the programmer is responsible for removing each added keyboard filter.
Resumes pointer handling by reactivating all the mouse drivers registered by the QWS_MOUSE_PROTO environment variable.
See also suspendMouse().
Sends the given key event. The key is identified by its unicode value and the given keycode, modifiers, isPress and autoRepeat parameters.
Use this function to send key events generated by "virtual keyboards" (note that the processKeyEvent() function is impelemented using this function).
The keycode parameter is the Qt keycode value as defined by the Qt::Key enum. The modifiers is an OR combination of Qt::KeyboardModifier values, indicating whether Shift/Alt/Ctrl keys are pressed. The isPress parameter is true if the event is a key press event and autoRepeat is true if the event is caused by an auto-repeat mechanism and not an actual key press.
See also processKeyEvent().
Suspends pointer handling by deactivating all the mouse drivers registered by the QWS_MOUSE_PROTO environment variable.
See also resumeMouse().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |