Syntax
typedef VMINT (* vm_keypad_event_callback)(VM_KEYPAD_EVENT event, VMINT code);
ContentsIndex
PreviousUpNext
vm_keypad_event_callback
Syntax
typedef VMINT (* vm_keypad_event_callback)(VM_KEYPAD_EVENT event, VMINT code);
Description

Callback function of keypad event handler. Register this callback with vm_keypad_register_event_callback to receive key events processed by underlying framework. The underlying system framework may process special key codes such as power key. Developers may choose to intercept the key code by returning non-zero values in this callback function, or bypassing the key code to system framework by returning 0.

Parameters
Parameters 
Description 
event 
[IN] Refer to VM_KEYPAD_EVENT
code 
[IN] The key code associated with the event. 
Returns

This event handler should return non-zero values if application has 

processed the key event and don't want to pass the key event to the 

system framework. 

Return 0 to bypass this key event to underlying system framework.

File

vmkeypad.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.