目录

Hid_AbsAxesArray

typedef struct Hid_AbsAxesArray {...} Hid_AbsAxesArray

Overview

An array of absolute coordinate attributes, used to store the attribute information of multiple absolute coordinate axes of an HID device. It supports describing the coordinate characteristics of input devices such as touchscreens and game joysticks, and is suitable for driver development scenarios that require precise reading and processing of multidimensional input data, for example, recording axis data in input devices such as gamepads and touchpads.

Since: 11

Related module: HidDdk

Header file: hid_ddk_types.h

Summary

[h2]Member Variables

Name Description
Hid_AbsAxes* hidAbsAxes Pointer to the first element of the array that encodes the absolute coordinate attributes. It must be used together with length, and the pointer must be valid and not NULL.
uint16_t length Valid length of the array, indicating the number of valid elements pointed to by hidAbsAxes. Value range: [0, 65535].