Added a test for MUIA_Listview_SelectChange.
[AROS.git] / compiler / include / prefs / input.h
blob3b3aa0aa72e33bf0aa1301d5d7d15dabd6357da8
1 #ifndef PREFS_INPUT_H
2 #define PREFS_INPUT_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Input prefs definitions
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 #ifndef LIBRARIES_IFFPARSE_H
17 # include <libraries/iffparse.h>
18 #endif
20 #ifndef DEVICES_TIMER_H
21 # include <devices/timer.h>
22 #endif
24 #define ID_INPT MAKE_ID('I','N','P','T')
26 struct InputPrefs {
27 char ip_Keymap[16];
28 UWORD ip_PointerTicks;
29 struct timeval ip_DoubleClick;
30 struct timeval ip_KeyRptDelay;
31 struct timeval ip_KeyRptSpeed;
32 WORD ip_MouseAccel;
34 /* The following fields are compatible with AmigaOS v4 */
35 ULONG ip_ClassicKeyboard; /* Reserved */
36 char ip_KeymapName[64]; /* Longer version of ip_Keymap */
37 ULONG ip_SwitchMouseButtons; /* Swap mouse buttons, boolean */
40 /* Experimental and AROS-specific, subject to change */
42 #define ID_KMSW MAKE_ID('K','M','S','W')
44 struct KMSPrefs
46 UBYTE kms_Enabled; /* Boolean - alternate keymap enabled */
47 UBYTE kms_Reserved;
48 UWORD kms_SwitchQual; /* Switch key and qualifier */
49 UWORD kms_SwitchCode;
50 char kms_AltKeymap[64]; /* Alternate keymap name */
53 #endif /* PREFS_INPUT_H */