6 #ifndef _INC_cInputKey_H
7 #define _INC_cInputKey_H
24 #define INPKEYDEF(a,b,c,d) INPUTKEY_##a,
91 : m_tDevKey(pKeyBase->get_DevKey())
92 , m_dwKeyMask(pKeyBase->get_KeyMask())
95 ASSERT(pKeyBase !=
nullptr);
98 : m_tDevKey(tDevKey), m_dwKeyMask(dwKeyMask)
104 m_tDevKey = INPUTKEY_NULL;
109 return m_tDevKey != INPUTKEY_NULL ;
127 m_dwKeyMask = dwKeyMask;
137 return MakeSortKey(m_tDevKey, m_dwKeyMask) ;
140 const GChar_t* get_DevKeyName()
const;
141 cString get_KeyBaseName()
const;
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
#define ASSERT(exp)
Definition: cDebugAssert.h:87
DWORD INPKEYCOMBO_t
HASHCODE_t from MakeSortKey() = alt + key as a single value for sorting.
Definition: cInputKey.h:75
DWORD INPKEYMASK_TYPE
SHIFT, ALT, CTRL.
Definition: cInputKey.h:74
INPKEYMASK_TYPE_
Definition: cInputKey.h:54
@ INPKEYMASK_CTRLR
Definition: cInputKey.h:68
@ INPKEYMASK_SHIFTL
Definition: cInputKey.h:59
@ INPKEYMASK_SHIFTR
Definition: cInputKey.h:60
@ INPKEYMASK_SHIFT
Definition: cInputKey.h:61
@ INPKEYMASK_ALTL
Definition: cInputKey.h:63
@ INPKEYMASK_CTRL
Definition: cInputKey.h:69
@ INPKEYMASK_BITS
Definition: cInputKey.h:71
@ INPKEYMASK_CTRLL
Definition: cInputKey.h:67
@ INPKEYMASK_ALT
Definition: cInputKey.h:65
@ INPKEYMASK_ALTR
Definition: cInputKey.h:64
INPUTKEY_TYPE
Definition: cInputKey.h:18
@ INPUTKEY_QTY
Definition: cInputKey.h:29
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26