[openbeos] Re: Preferences/File Help

  • From: "Andrew Edward McCall" <mccall@xxxxxxxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 17 Jan 2002 21:23:36 -0800

>a simple thing like
>DiskProbe ~/config/settings/*settings &
>(opens a lot of windows)
>can tell which file is touched by a specific pref panel
>for the mouse panel, it told me it used app_server_settings for 
>focus follows mouse, which isn't hard to tell when looking at the file
>which seem to have the same structure as driver setting files:
>
>Interface {
>        Scrollbars {
>                proportional 1
>                arrows 2
>                knobtype 1
>                knobsize 15
>        }
>        Options {
>                ffm 1
>                decor 0
>        }
>}
>
>This also gives the scrollbar pref file format =)
>it seems the Mouse pref panel updated the ffm setting immediately, by
>asking app_server to change and writing the file on each modification,
>although it only changes Mouse_settings when closed.
>
>about the Workspaces section, it seems to me Be just use XFree 
modelines
>for resolution setup, which at least is a "standard" format :)
>
>It seems the window origin point is also at the end of the mouse 
settings file.
>I'm not sure it hasn't some unknown more bytes though, didn't check.
>
>
>En réponse à Jonathan Tarbox <jtarbox@xxxxxxxxxxxxx>:
>
>> 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

So am I understanding this correctly -

The settings file for keyboard doesn't actualy store the settings for the key 
rate and repeat rate, it only stores the last position of the keyboard window? 
(Heh - that makes it easy for me if I am correct!)

Thanks

Andrew Edward McCall
mccall@xxxxxxxxxxxxxxxxxxxxx
--
OpenBeOS! - Join the revolution now!
http://www.openbeos.org/


Other related posts: