## visu_actionInterface visu_actionInterface — Interface for defining actions and events. |

## Synopsis

    #define             BUTTON_TYPE_PRESS
    #define             BUTTON_TYPE_RELEASE
    enum                SpecialKeyStroke;
    typedef             SimplifiedEvents;

## Description

These definitions are used to give a library and plateform independent simplified event handlers.

## Details

### BUTTON_TYPE_PRESS

    #define BUTTON_TYPE_PRESS   1

Value that can be put into field buttonType of structure SimplifiedEvents_struct.

### BUTTON_TYPE_RELEASE

    #define BUTTON_TYPE_RELEASE 2

Value that can be put into field buttonType of structure SimplifiedEvents_struct.

### enum SpecialKeyStroke

    typedef enum
      {
        Key_None,
        Key_Page_Up,
        Key_Page_Down,
        Key_Arrow_Left,
        Key_Arrow_Right,
        Key_Arrow_Up,
        Key_Arrow_Down
      } SpecialKeyStroke;

Possible non ascii keys used in SimplifiedEvents.

`Key_None` | no key pressed ;
`Key_Page_Up` | key up ;
`Key_Page_Down` | key down ;
`Key_Arrow_Left` | key left ;
`Key_Arrow_Right` | key right ;
`Key_Arrow_Up` | key up ;
`Key_Arrow_Down` | key down.

### SimplifiedEvents

    typedef struct SimplifiedEvents_struct SimplifiedEvents;

A short way to address SimplifiedEvents_struct objects.