iKeyboardDriver Struct Reference
[Event handling]
Generic Keyboard Driver.
More...
#include <csinput.h>
Inheritance diagram for iKeyboardDriver:

Public Methods | |
virtual void | Reset ()=0 |
Call to release all key down flags (when focus switches from application window, for example). | |
virtual void | DoKey (utf32_char codeRaw, utf32_char codeCooked, bool iDown, bool autoRepeat=false, csKeyCharType charType=csKeyCharTypeNormal)=0 |
Call this routine to add a key down/up event to queue. | |
virtual bool | GetKeyState (utf32_char codeRaw)=0 |
Query the state of a key. | |
virtual uint32 | GetModifierState (utf32_char codeRaw)=0 |
Get the current state of the modifiers. | |
virtual csPtr< iKeyComposer > | CreateKeyComposer ()=0 |
Return an instance of the keyboard composer. |
Detailed Description
Generic Keyboard Driver.
Keyboard driver should generate events and put them into an event queue. Also it tracks the current state of all keys. Typically, one instance of this object is available from the shared-object registry (iObjectRegistry) under the name "crystalspace.driver.input.generic.keyboard".
Definition at line 105 of file csinput.h.
Member Function Documentation
|
Return an instance of the keyboard composer.
Implemented in csKeyboardDriver. |
|
Call this routine to add a key down/up event to queue.
Implemented in csKeyboardDriver. |
|
Query the state of a key. All key codes are supported. Returns true if the key is pressed, false if not. Implemented in csKeyboardDriver. |
|
Get the current state of the modifiers.
Implemented in csKeyboardDriver. |
|
Call to release all key down flags (when focus switches from application window, for example).
Implemented in csKeyboardDriver. |
The documentation for this struct was generated from the following file:
- iutil/csinput.h
Generated for Crystal Space by doxygen 1.2.18