1 Star 0 Fork 5.3K

OpenHarmony_EU incubator / docs

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

DeviceInfo

Overview

Related Modules:

Input

Description:

Describes basic device information of the input device.

Summary

Data Fields

Variable Name

Description

devIndex

uint32_t

fd

int32_t

devType

uint32_t

powerStatus

uint32_t

chipInfo [CHIP_INFO_LEN]

char

vendorName [VENDOR_NAME_LEN]

char

chipName [CHIP_NAME_LEN]

char

devNodePath [DEV_NODE_PATH]

char

solutionX

uint32_t

solutionY

uint32_t

callback

InputReportEventCb *

Details

Field Documentation

callback

[InputReportEventCb](inputreporteventcb.md)* DeviceInfo::callback

Description:

Callback InputReportEventCb for reporting data

chipInfo

char DeviceInfo::chipInfo[CHIP_INFO_LEN]

Description:

Driver chip information

chipName

char DeviceInfo::chipName[CHIP_NAME_LEN]

Description:

Driver chip name

devIndex

uint32_t DeviceInfo::devIndex

Description:

Device index

devNodePath

char DeviceInfo::devNodePath[DEV_NODE_PATH]

Description:

Device file path

devType

uint32_t DeviceInfo::devType

Description:

Device type

fd

int32_t DeviceInfo::fd

Description:

File descriptor of the device

powerStatus

uint32_t DeviceInfo::powerStatus

Description:

Power status

solutionX

uint32_t DeviceInfo::solutionX

Description:

Resolution in the X axis

solutionY

uint32_t DeviceInfo::solutionY

Description:

Resolution in the Y axis

vendorName

char DeviceInfo::vendorName[VENDOR_NAME_LEN]

Description:

Module vendor name

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/open-harmony-eu-incubator/docs.git
git@gitee.com:open-harmony-eu-incubator/docs.git
open-harmony-eu-incubator
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891