Supported Browsers Home   
EVT_eventMouseMaskType Previous   
EVT_masksType Next   
Type Definitions Up   

EVT_eventType

Declaration

typedef enum {
    EVT_NULLEVT     = 0x00000000,
    EVT_KEYDOWN     = 0x00000001,
    EVT_KEYREPEAT   = 0x00000002,
    EVT_KEYUP       = 0x00000004,
    EVT_MOUSEDOWN   = 0x00000008,
    EVT_MOUSEAUTO   = 0x00000010,
    EVT_MOUSEUP     = 0x00000020,
    EVT_MOUSEMOVE   = 0x00000040,
    EVT_JOYCLICK    = 0x00000080,
    EVT_JOYMOVE     = 0x00000100,
    EVT_USEREVT     = 0x00000200
    } EVT_eventType

Prototype In

event.h

Description

Defines the event codes returned in the event_t structures what field. Note that these are defined as a set of mutually exlusive bit fields, so you can test for multiple event types using the combined event masks defined in the EVT_eventMaskType enumeration.

Members

EVT_NULLEVT

A null event

EVT_KEYDOWN

Key down event

EVT_KEYREPEAT

Key repeat event

EVT_KEYUP

Key up event

EVT_MOUSEDOWN

Mouse down event

EVT_MOUSEAUTO

Mouse down autorepeat event

EVT_MOUSEUP

Mouse up event

EVT_MOUSEMOVE

Mouse movement event

EVT_JOYCLICK

Joystick button state change event

EVT_JOYMOVE

Joystick movement event

EVT_USEREVT

First user event

 

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com