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
10 #ifndef KEYBOARD_SETTINGS_H_
11 #define KEYBOARD_SETTINGS_H_
13 #include <SupportDefs.h>
14 #include "kb_mouse_settings.h"
16 class KeyboardSettings
{
26 BPoint
WindowCorner() const { return fCorner
; }
27 void SetWindowCorner(BPoint corner
);
29 int32
KeyboardRepeatRate() const
30 { return fSettings
.key_repeat_rate
; }
31 void SetKeyboardRepeatRate(int32 rate
);
33 bigtime_t
KeyboardRepeatDelay() const
34 { return fSettings
.key_repeat_delay
; }
35 void SetKeyboardRepeatDelay(bigtime_t delay
);
39 kb_settings fSettings
;
40 kb_settings fOriginalSettings
;