#ifndef __NLL_MOUSE_H_INCLUDED__
#define __NLL_MOUSE_H_INCLUDED__

typedef enum {
  MOUSE_CODE_NONE = 0,

  MOUSE_CODE_RIGHT,
  MOUSE_CODE_LEFT,
  MOUSE_CODE_MIDDLE,

  MOUSE_CODE_NUM
} mouse_code_t;

#define MOUSE_NAME_RIGHT  "RIGHT"
#define MOUSE_NAME_LEFT   "LEFT"
#define MOUSE_NAME_MIDDLE "MIDDLE"

const char *mousename_get(mouse_code_t code);
mouse_code_t mousecode_get(const char *name);

#endif
