# DeviceInfo ## **Overview** **Related Modules:** [Input](Input.md) **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](InputReportEventCb.md) 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