[openbeos] Re: Preferences/File Help

  • From: "Jonathan Tarbox" <jtarbox@xxxxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Thu, 17 Jan 2002 12:56:45 -0600

a BPoint would fit in there perfectly.

-jtarbox

----- Original Message -----
From: "Marcus Overhagen" <dos4gw@xxxxxx>
To: <openbeos@xxxxxxxxxxxxx>
Sent: Thursday, January 17, 2002 10:35 AM
Subject: [openbeos] Re: Preferences/File Help


> 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/li
b/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: