MacOSX Quartz/Carbon Input

Name

input-quartz : MacOSX Quartz/Carbon Input

Synopsis

input-quartz

Description

input-quartz, a native input library for MacOSX. It uses the quartz/carbon API. It is used by display-quartz(7) and not standalone usable.

MacOSX 10.2.8 (Jaguar) or newer is required.

Controls

An input-quartz module understands the following command codes sent by ggControl(3):

GII_CMDCODE_QZSETPARAM

Data:

struct gii_quartz_cmddata_setparam {
       WindowRef theWindow;
};

Notifications

An input-x(7) module will report the following events via ggBroadcast(3):

GII_CMDCODE_QZWINCLOSE

Data:

struct gii_quartz_cmddata_winclose {
       WindowRef theWindow;
};
GII_CMDCODE_RESIZE

Data:

struct gii_cmddata_resize {
       int width, height;
       void *arg;
};

Features

  • Generates evPtr* and evKey* events.