Fixed compatibility of output.
[AROS.git] / compiler / include / devices / input.h
blobbf4b7cecd0597a282542cb7f26a279045ff692e1
1 #ifndef DEVICES_INPUT_H
2 #define DEVICES_INPUT_H
4 /*
5 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Input device commands
9 Lang: english
12 #include <exec/devices.h>
13 #include <exec/io.h>
15 #define IND_ADDHANDLER (CMD_NONSTD + 0)
16 #define IND_REMHANDLER (CMD_NONSTD + 1)
17 #define IND_WRITEEVENT (CMD_NONSTD + 2)
18 #define IND_SETTHRESH (CMD_NONSTD + 3)
19 #define IND_SETPERIOD (CMD_NONSTD + 4)
20 #define IND_SETMPORT (CMD_NONSTD + 5)
21 #define IND_SETMTYPE (CMD_NONSTD + 6)
22 #define IND_SETMTRIG (CMD_NONSTD + 7)
24 #define IND_ADDEVENT (CMD_NONSTD + 15) /* V50! */
26 /* The following is AROS-specific, experimental and subject to change */
27 struct InputDevice
29 struct Device id_Device;
30 ULONG id_Flags;
33 #define IDF_SWAP_BUTTONS 0x0001
35 #endif /* DEVICES_INPUT_H */