ContentsIndex
PreviousUpNext
Keypad
Topics | Functions | Structs, Records, Enums | Types
Description

Allows developer to register keypad event handlers, if the HDK provides keypad hardware.

Introduction

Some LinkIt HDK comes with keypad configuration. The system framework provides a simple way for developers to register a keypad event handler. Key events such as pressed(VM_KEYPAD_EVENT_DOWN) or released(VM_KEYPAD_EVENT_UP) are passed to the handler callback with corresponding key code. The actual value of key code depends on the design of HDK, and can be found in the HDK document.

Group
Functions
Function 
Description 
Registers system keypad event callback. The keypad events are passed to the registered callback. There can only have one handler registered at the same time. 
Structs, Records, Enums
Struct, Record, Enum 
Description 
Keypad events passed to vm_keypad_event_callback
Types
Type 
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. 
Links
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.