Disko Forum logo Login  |  Register  |  Lost Password
DFB input events: absolute or relative positioning

judith
Posts: 11
graphgraph

DFB input events: absolute or relative positioning 5 Years, 3 Months ago  
Hi,

I found a bug in the handling routines of DirectFB events. In mmsinputdfbhandler.cpp you use "evt.axis < 0" as an indicator whether the AXISMOTION event uses absolute or relative positioning. On my ARM system the values were interpreted as absolute although they were relative. So it happens, that the mouse pointer was always out of the visible window. I think, it's better to determine the type using the DIEF_AXISABS and DIEF_AXISREL values in "evt.flags", because they are unambigous.

Kind regards
Judith
 
  The administrator has disabled public write access.
DFB input events: absolute or relative positioning

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:DFB input events: absolute or relative positioning 5 Years, 3 Months ago  
Hello Judith,

thanks for finding this bug. I fixed it according to your suggestion. We would appreciate it if you could provide feedback whether this works now on your platform.

Best regards,
Matthias
 
  The administrator has disabled public write access.
DFB input events: absolute or relative positioning

judith
Posts: 11
graphgraph

Re:DFB input events: absolute or relative positioning 5 Years, 3 Months ago  
Hi Matthias,

I changed it on my platform before posting the bug and now it works fine.

BTW: I saw that disko-1.7.0 is now available, but the link to the source package is broken. Could you please fix this?

Kind regards
Judith
 
  The administrator has disabled public write access.
DFB input events: absolute or relative positioning

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:DFB input events: absolute or relative positioning 5 Years, 3 Months ago  
QUOTE:
BTW: I saw that disko-1.7.0 is now available, but the link to the source package is broken. Could you please fix this?


Done.
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop