AudioNav EF
Config Utility & API
The content of this communication and/or document, including but not limited to images, specifications, designs, concepts and information is
confidential and is not to be used for any purpose or disclosed to a third party without the express and written consent of
Keymat Technology Ltd., Copyright 2018. All rights reserved.
1400 Series AudioNav EF - Config Utility & API Rev 1.2
Page 32 of 37
LoadCodeTable
This function loads the keycode table in customise table.
Parameters :
Int *keyCodePtr – pointer to code table must hold 20 values including modifier. For each key the values must be
[modifier, USB key code].
timeToWait
-
maximum time to wait for command to complete
Return Value:
0 for success
///\brief LoadCodeTable This function loads a new code table to customise
table in AudioNav
///
///\param KeyCodePtr - Point to new code table
/// param keyCodeLen - length of keycode - Must be 20.
///\param _timeToWait is the time in milliseconds to wait for the data to be
retrieved.
///\return 0 on success, negative error code on failure
///
Possible error codes are:
///
DEVICE_INFO_STRUCTURE_NULL
= User app passed in NULL
pointer for DEVICE_INFO structure
///
NO_USB_DISPLAY_CONNECTED
= No keypad is
connected so cannot retrieve info
///
REQUEST_TIMEOUT
= Could not retrieve the
info in the time alloted.
///
DLLDEF
int
LoadCodeTable(
char
*keyCodePtr,
int
keyCodeLen,
int
_timeToWait );