ncurses鼠标事件的z分量代表什么?

What does the z component of ncurses mouse events represent?

来自ncurses.h

typedef struct
{
    short id;       /* ID to distinguish multiple devices */
    int x, y, z;    /* event coordinates (character-cell) */
    mmask_t bstate; /* button state bits */
}
MEVENT;

z坐标代表什么?

来自the curs_mouse man page

The z member in the event structure is not presently used. It is intended for use with touch screens (which may be pressure- sensitive) or with 3D-mice/trackballs/power gloves.

此外,如果您在 lib_mouse.c in the ncurses source code 中搜索 ->z.z,您会发现它只设置为零。