Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cInputKeyDef Class Reference

#include <cInputKey.h>

Public Member Functions

const GChar_tget_Name () const noexcept
 

Static Public Member Functions

static INPUTKEY_TYPE GRAYCALL GetDevKeyByName (const GChar_t *pszName)
 
static INPUTKEY_TYPE GRAYCALL GetDevKeyByVKCode (VK_TYPE vKeyCode)
 

Public Attributes

const GChar_tm_pszKeyName
 'cInputKeyDefs.tbl' name of a key on the device (keyboard). More...
 
VK_TYPE m_vKeyCode
 Windows VK codes. e.g. VK_ESCAPE. More...
 

Static Public Attributes

static const cInputKeyDef k_aInputKeyDefs [INPUTKEY_QTY]
 

Detailed Description

a Key/Button that the input device/hardware might support. keyboard and mouse. Describe/name each possible INPUTKEY_TYPE similar to cInputKeyObj

Member Function Documentation

◆ get_Name()

const GChar_t* GrayLib::cInputKeyDef::get_Name ( ) const
inlinenoexcept

◆ GetDevKeyByName()

INPUTKEY_TYPE GrayLib::cInputKeyDef::GetDevKeyByName ( const GChar_t pszName)
static

◆ GetDevKeyByVKCode()

INPUTKEY_TYPE GrayLib::cInputKeyDef::GetDevKeyByVKCode ( VK_TYPE  vKeyCode)
static
  • vKey = key code = VK_ESCAPE

Member Data Documentation

◆ k_aInputKeyDefs

const cInputKeyDef GrayLib::cInputKeyDef::k_aInputKeyDefs
static
Initial value:
=
{
#define INPKEYDEF(a,b,c,d)
}

◆ m_pszKeyName

const GChar_t* GrayLib::cInputKeyDef::m_pszKeyName

'cInputKeyDefs.tbl' name of a key on the device (keyboard).

◆ m_vKeyCode

VK_TYPE GrayLib::cInputKeyDef::m_vKeyCode

Windows VK codes. e.g. VK_ESCAPE.


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