API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IKEYSCONFIG_SETKEYSTATE()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IKeysConfig IKeysConfig_GetKeyState IKeysConfig_GetStickyKeys
Description
Returns the state of the queried sticky key (on or off).
Params
pIKeysConfig
[]:
IKeysConfig interface object
dwKey
[]:
Modifier value of the key (KB_CAPSLOCK for ex).
bState
[]:
The state to set this modifier key to (TRUE = ON, FALSE = OFF)
Interface
Prototype
  • int IKeysConfig_SetKeyState(IKeysConfig *piKeysConfig, uint32 dwKey, boolean bState)
    
Return
  • AEE_SUCCESS : key state was successfully set to the requested value. AEE_EFAILED : the state is not supported for this key (ex. non-sticky key).
Side Effect
  • None
Comments
None