[openbeos] Re: Preferences/File Help

  • From: "Marcus Overhagen" <dos4gw@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 17 Jan 2002 17:35:22 +0100

Franois Revol <revol@xxxxxxx> wrote:

>Though ~/config/settings/Keyboard_settings certainly isn't a flattened BMessage
>more a C struct or something, sadly :
>
>[revol@patrick /boot/home/devel]$ ./dumpbm ~/config/settings/Keyboard_settings
>BMessage: what =  (0x0, or 0)

try: 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/open-beos/input_kit/source/lib/kb_mouse_driver.h

it contains:

// keyboard settings info, as kept in settings file 

typedef struct { 
        bigtime_t       key_repeat_delay; 
        int32           key_repeat_rate; 
} kb_settings; 

#define kb_settings_file "Keyboard_settings" 


Only problem: the file is 20 byte on my system, while this
struct is only 12 byte

This file also descibes the mouse settings file!

good luck.

Marcus 

Other related posts: