Other Parts Discussed in Thread: TIMAC
hi,
in the TIMAC code which functions are used to control the joystick.
can u please identify those functions.
thank you,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: TIMAC
hi,
in the TIMAC code which functions are used to control the joystick.
can u please identify those functions.
thank you,
Hi,
the key driver is implemented in hal_key.c module.
As you can see, there's a HalKeyConfig() function which can be invoked by your application to register a callback for the application from the key service.
If you check the code in main() function, in module msa_Main.c, you'll see that the HalKeyConfig() function is called and registers MSA_Main_KeyCallback which then calls MSA_HandleKeys() which is the function that handles the sequencing of the actions that result from pressing the corresponding keys.
For an explanation of what the symbolic name of the key represents (HAL_KEY_XXX), please check out hal_key.h file.
For more information on the key driver APIs, please consult Chapter 6 of HAL driver API document in Documents/API folder of your TI-MAC install,
Thanks,
TheDarkSide