Logo Search packages:      
Sourcecode: ucimf-openvanilla version File versions  Download package

OVKeyCode Class Reference

#include <OpenVanilla.h>

Inheritance diagram for OVKeyCode:

OVBase

List of all members.


Detailed Description

An abstract interface that accesses key code and key states (e.g. if SHIFT is hit at the time the key code is sent) What an Input Method software does is to receive the informations about which keys that users typed, and then send representive strings or characters to the current application. The OVKeyCode object represents the information of keyboard events, you can know which key is pressed down by the code() function and which function keys such as Shift and Control by other functions.

Definition at line 167 of file OpenVanilla.h.


Public Member Functions

virtual int code ()=0
virtual bool isAlt ()=0
virtual bool isCapslock ()=0
virtual bool isCommand ()
virtual bool isCtrl ()=0
virtual bool isFunctionKey ()
virtual bool isNum ()=0
virtual bool isOpt ()
virtual bool isShift ()=0

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index