#ifndef DEVICES_INPUT_H
#define DEVICES_INPUT_H

/*
    Copyright © 1995-2010, The AROS Development Team. All rights reserved.
    $Id$

    Desc: Input device commands
    Lang: english
*/

#include <exec/devices.h>
#include <exec/io.h>

#define IND_ADDHANDLER	(CMD_NONSTD + 0)
#define IND_REMHANDLER	(CMD_NONSTD + 1)
#define IND_WRITEEVENT	(CMD_NONSTD + 2)
#define IND_SETTHRESH	(CMD_NONSTD + 3)
#define IND_SETPERIOD	(CMD_NONSTD + 4)
#define IND_SETMPORT	(CMD_NONSTD + 5)
#define IND_SETMTYPE	(CMD_NONSTD + 6)
#define IND_SETMTRIG	(CMD_NONSTD + 7)

#define IND_ADDEVENT	(CMD_NONSTD + 15) /* V50! */

/* The following is AROS-specific, experimental and subject to change */
struct InputDevice
{
    struct Device id_Device;
    ULONG	  id_Flags;
};

#define IDF_SWAP_BUTTONS 0x0001

#endif /* DEVICES_INPUT_H */
