1 Star 0 Fork 5.1K

睿凡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
DeviceInfo.md 7.69 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

1
https://gitee.com/lcpsky/docs.git
git@gitee.com:lcpsky/docs.git
lcpsky
docs
docs
master

搜索帮助