[haiku] Re: VMW tools as (optional) package

  • From: Vincent DUVERT <vincent.duvert@xxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Wed, 4 Feb 2009 21:32:30 +0100

Le 2 févr. 09 à 22:16, Stephan Aßmus a écrit :

Vincent DUVERT schrieb:
You need to modify the one that's passed in and return B_DISPATCH_MESSAGE. It should be easy to read the contents of certain fields, calculate new values and then you can use BMessage::Replace*(), to replace the data in the message.

I tried this, and got a strange behaviour : The hand cursor moves like if there was no filter (i.e. it still reacts to mouse speed/ acceleration settings), but clicking, dragging and scrolling are working (quite nicely) at the location of the (invisible) host cursor.

Am I doing something wrong ?
The BMessages for a normal mouse, a tablet and the filtered mouse look like this :
(does the order matters ?)

And the filter code :


Other related posts: