1 /* 2 * Copyright 2001-2005, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KB_MOUSE_SETTINGS_H 6 #define _KB_MOUSE_SETTINGS_H 7 8 9 #include <InterfaceDefs.h> 10 11 12 typedef struct { 13 bigtime_t key_repeat_delay; 14 int32 key_repeat_rate; 15 } kb_settings; 16 17 #define kb_settings_file "Keyboard_settings" 18 19 typedef struct { 20 bool enabled; 21 int32 accel_factor; 22 int32 speed; 23 } mouse_accel; 24 25 typedef struct { 26 int32 type; 27 mouse_map map; 28 mouse_accel accel; 29 bigtime_t click_speed; 30 } mouse_settings; 31 32 #define mouse_settings_file "Mouse_settings" 33 34 #endif /* _KB_MOUSE_SETTINGS_H */ 35