/* $Id: X11EventMaskNames.h,v 1.1.1.1 90/11/28 16:43:41 altenhof Exp $ */

/*
 * Copyright (C) 1990 by Digital Equipment Corporation.
 * 
 * Author: Michael P. Altenhofen, CEC Karlsruhe e-mail:
 * Altenhofen@kampus.enet.dec.com
 * 
 * This file ist part of Shared X
 * 
 * Permission to use, copy, modify, and distribute this software and its
 * documentation without fee is hereby granted, but only for non-profit  use
 * and distribution,  and provided  that the copyright notice and this notice
 * is preserved on all copies.
 * 
 * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 * SOFTWARE.
 */

typedef struct {
  long code;
  char *name;
} binding;

binding _EventMaskNames[26] =
{
  {KeyPressMask, "KeyPress"},
  {KeyReleaseMask, "KeyRelease"},
  {ButtonPressMask, "ButtonPress"},
  {ButtonReleaseMask, "ButtonRelease"},
  {EnterWindowMask, "EnterWindow"},
  {LeaveWindowMask, "LeaveWindow"},
  {PointerMotionMask, "PointerMotion"},
  {PointerMotionHintMask, "PointerMotionHint"},
  {Button1MotionMask, "Button1Motion"},
  {Button2MotionMask, "Button2Motion"},
  {Button3MotionMask, "Button3Motion"},
  {Button4MotionMask, "Button4Motion"},
  {Button5MotionMask, "Button5Motion"},
  {ButtonMotionMask, "ButtonMotion"},
  {KeymapStateMask, "KeymapState"},
  {ExposureMask, "Exposure"},
  {VisibilityChangeMask, "VisibilityChange"},
  {StructureNotifyMask, "StructureNotify"},
  {ResizeRedirectMask, "ResizeRedirect"},
  {SubstructureNotifyMask, "SubstructureNotify"},
  {SubstructureRedirectMask, "SubstructureRedirect"},
  {FocusChangeMask, "FocusChange"},
  {PropertyChangeMask, "PropertyChange"},
  {ColormapChangeMask, "ColormapChange"},
  {OwnerGrabButtonMask, "OwnerGrabButton"},
  {0, 0}
};
