# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::IKeyboardDevice Struct Reference

Gives access to low level keyboard parameters 'Shift' messages are replaced by RShift and LShift msg. More...

#include <keyboard_device.h>

Inheritance diagram for NLMISC::IKeyboardDevice:

NLMISC::IInputDevice List of all members.

Public Types

enum  { NumKeys = 256 }
 Max number of supported keys. More...


Public Methods

virtual uint getKeyRepeatDelay () const=0
 Get the delay before key repeat, in milliseconds. More...

virtual void setKeyRepeatDelay (uint delay)=0
 Get the delay before key repeat, in milliseconds. More...

virtual uint getKeyRepeatPeriod () const=0
 Get the period before key repeat, in milliseconds. More...

virtual void setKeyRepeatPeriod (uint period)=0
 Get the period before key repeat, in milliseconds. More...

virtual void disableRepetition (const TKey *keyTab, uint numKey)=0
 Set a set of keys for which repetition is disabled. More...

virtual uint getNumDisabledRepetition () const=0
 Get the number of disabled keys. More...

virtual void getDisabledRepetitions (TKey *destTab) const=0
 Get the disabled keys and stores in the given tab. More...


Detailed Description

Gives access to low level keyboard parameters 'Shift' messages are replaced by RShift and LShift msg.

  • * - 'Control' messages are replaced by 'RControl' and 'LControl' msg.
    • 'Menu' (alternate) messages are replaced by 'RMenu' and 'LMenu' msg.

Definition at line 43 of file keyboard_device.h.


Member Enumeration Documentation

anonymous enum
 

Max number of supported keys.

Enumeration values:
NumKeys 

Definition at line 46 of file keyboard_device.h.


Member Function Documentation

virtual void NLMISC::IKeyboardDevice::disableRepetition const TKey   keyTab,
uint    numKey
[pure virtual]
 

Set a set of keys for which repetition is disabled.

virtual void NLMISC::IKeyboardDevice::getDisabledRepetitions TKey   destTab const [pure virtual]
 

Get the disabled keys and stores in the given tab.

NB: must ensure the destination table has the right size

See also:
getNumDisabledKeys()

virtual uint NLMISC::IKeyboardDevice::getKeyRepeatDelay   const [pure virtual]
 

Get the delay before key repeat, in milliseconds.

virtual uint NLMISC::IKeyboardDevice::getKeyRepeatPeriod   const [pure virtual]
 

Get the period before key repeat, in milliseconds.

virtual uint NLMISC::IKeyboardDevice::getNumDisabledRepetition   const [pure virtual]
 

Get the number of disabled keys.

virtual void NLMISC::IKeyboardDevice::setKeyRepeatDelay uint    delay [pure virtual]
 

Get the delay before key repeat, in milliseconds.

virtual void NLMISC::IKeyboardDevice::setKeyRepeatPeriod uint    period [pure virtual]
 

Get the period before key repeat, in milliseconds.


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