[openbeos-preferences] OpenBeOS Mouse Preferences & API Changes

Hi all,

I just wanted to keep everyone up to date with what I am doing, I have 
a problem with the Mouse Preferences. I have contacted Jason on the 
input_server team, below is a copy of the email, you should be able to 
see my problem from that.

>Hi Jason,
>
>You may remember me from when I sent you an email about the Mouse/
>Keyboard Preference Panels a few weeks ago.
>
>Well since then I have found all the information I needed for the 
>Keyboard panel, and that has been written, and re-written and should 
be 
>pretty stable now.
>
>I have come to a stumbling point with the Mouse panel though - and 
>thought that you might need to know about it as it looks like it will 
>be a task for the input_server team (or me if I can do it :) )
>
>It appears that get_mouse_speed() set_mouse_speed() have been majorly 
>changed.
>
>In the BeBook, set_ is supposed to take a int from 0 to 20, however 
>after playing with this, it doesn't work.
>
>I started to look at get_ then. I found that using the official Be, 
Inc 
>Mouse Preference Panel, if I set Speed to its minimum it would return 
>8192 at its slowest setting, default is 65536 and its fastest setting 
>is 524287. After a few discussions in #OpenBeOS and #BeDev me and few 
>others agree that its probably an undocumented change in the API. 
>Someone also remembers a BeBug report for something similar to this 
>too.
>
>There is also a totally undocumented set of commands 
>get_mouse_acceletation() and set_mouse_acceleration(), these take and 
>return the same values as the speed one.
>
>It also seems to make the mouse_settings struct in 
>keryboard_mouse_settings.h wrong too if I understand it correctly.
>
>Hope you can either advise me on what to do (wait?) or point me in the 
>right direction with some input_server insight.
>
>The Mouse Preference Panel in the cvs at the moment is set to output :
>
>Speed is : 
>Acceleration is : 
>
>When run from the Terminal on start up in case you want to check these 
>figures.    

If anyone else can shed any light, please do!

Thanks

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

Other related posts: