2004-09-23 19:35:37 +04:00
|
|
|
//
|
|
|
|
// kb_mouse_settings.h
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _KB_MOUSE_SETTINGS_H
|
|
|
|
#define _KB_MOUSE_SETTINGS_H
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
bigtime_t key_repeat_delay;
|
|
|
|
int32 key_repeat_rate;
|
|
|
|
} kb_settings;
|
|
|
|
|
|
|
|
#define kb_settings_file "Keyboard_settings"
|
|
|
|
|
|
|
|
typedef struct {
|
2005-03-14 13:32:10 +03:00
|
|
|
bool enabled;
|
|
|
|
int32 accel_factor;
|
|
|
|
int32 speed;
|
2004-09-23 19:35:37 +04:00
|
|
|
} mouse_accel;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int32 type;
|
|
|
|
mouse_map map;
|
|
|
|
mouse_accel accel;
|
|
|
|
bigtime_t click_speed;
|
|
|
|
} mouse_settings;
|
|
|
|
|
|
|
|
#define mouse_settings_file "Mouse_settings"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|