Bind Actions with Recognizers

Name

gic_feature : Bind Actions with Recognizers

Synopsis

#include <ggi/gic_structs.h>

struct gic_feature {
      char name[GIC_NAMELEN];         /* name of the feature */
      char shortname[GIC_SHORTNAMELEN];/* name of the feature */

      /* list of attached recognizers */
      GG_SIMPLEQ_HEAD(, gic_recognizer) recognizers;

      /* list of attached actions */
      GG_SIMPLEQ_HEAD(, gic_actionlist) actions;
};

struct gic_featurelist {
      GG_SIMPLEQ_ENTRY(gic_featurelist) next;
      struct gic_feature *feature;
};

Description

Features are individual "moves" that control something. They can have multiple actions and recognizers attached.

name

Name of the feature

shortname

Short name of the feature

recognizers

List of attached recognizers

actions

List of attached actions

See Also