harmony 鸿蒙HdiInput

  • 2025-06-16
  • 浏览 (6)

HdiInput

概述

Input模块向上层服务提供了统一接口。

上层服务开发人员可根据Input模块提供的向上统一接口获取如下能力:Input设备的打开和关闭、Input事件获取、设备信息查询、回调函数注册、特性状态控制等。

起始版本: 3.2

汇总

文件

名称 描述
IInputCallback.idl Input模块为Input服务提供的数据上报和热插拔事件上报的回调。
IInputInterfaces.idl Input设备的打开和关闭、Input事件获取、设备信息查询、回调函数注册、特性状态控制等接口。
InputTypes.idl Input设备相关的数据类型定义。

名称 描述
interface  IInputCallback 定义Input模块的回调函数。
interface  IInputInterfaces Input模块向上层服务提供了统一接口。
struct  DevDesc Input设备描述信息。
struct  DevIdentify Input设备的识别信息。
struct  DimensionInfo Input设备的维度信息。
struct  DevAttr Input设备属性。
struct  DevAbility Input设备的能力属性,存储支持事件的位图。
struct  DeviceInfo Input设备基础设备信息。
struct  ExtraCmd 扩展指令的数据结构。
struct  HotPlugEvent 热插拔事件数据包结构。
struct  EventPackage Input事件数据包结构。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Input HDI 参考

harmony 鸿蒙DevAbility

harmony 鸿蒙DevAttr

harmony 鸿蒙DevDesc

harmony 鸿蒙DevIdentify

harmony 鸿蒙DeviceInfo

harmony 鸿蒙DimensionInfo

harmony 鸿蒙EventPackage

harmony 鸿蒙ExtraCmd

harmony 鸿蒙HotPlugEvent

0  赞