XPLMGetHotKeyInfo

XPLM_API void       XPLMGetHotKeyInfo(
                         XPLMHotKeyID         inHotKey,
                         char *               outVirtualKey,    /* Can be NULL */
                         XPLMKeyFlags *       outFlags,    /* Can be NULL */
                         char *               outDescription,    /* Can be NULL */
                         XPLMPluginID *       outPlugin);    /* Can be NULL */

Returns information about the hot key. Return NULL for any parameter you don’t want info about. The description should be at least 512 chars long.