2 ** Copyright 2004-2006, the Haiku project. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
5 ** Authors in chronological order:
6 ** mccall@digitalparadise.co.uk
11 #ifndef KEYBOARD_SETTINGS_H_
12 #define KEYBOARD_SETTINGS_H_
14 #include <SupportDefs.h>
15 #include <kb_mouse_settings.h>
17 class KeyboardSettings
23 void SetKeyboardRepeatRate(int32 rate
);
24 void SetKeyboardRepeatDelay(bigtime_t delay
);
26 int32
KeyboardRepeatRate() const { return fSettings
.key_repeat_rate
; }
27 bigtime_t
KeyboardRepeatDelay() const { return fSettings
.key_repeat_delay
; }
32 kb_settings fSettings
;