1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
InputReportEventCb.md 3.42 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

InputReportEventCb

Overview

Related Modules:

Input

Description:

Describes the input event callback registered by the input service.

Summary

Data Fields

Variable Name

Description

ReportEventCallback )(const InputEventData *eventData, uint32_t count, uint32_t devIndex)

void(* 

Reports input event data by the registered callback.

Details

Field Documentation

ReportEventCallback

void(* InputReportEventCb::ReportEventCallback) (const [InputEventData](InputEventData.md) *eventData, uint32_t count, uint32_t devIndex)

Description:

Reports input event data by the registered callback.

Parameters:

Name

Description

eventData Indicates the pointer to the input event data reported by the input driver.
count Indicates the number of input event data packets.
devIndex Indicates the index of an input device. A maximum of 32 input devices are supported. The value ranges from 0 to 31, and value 0 represents the first input device.
1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助