Comment 2 for bug 214380

Revision history for this message
ToddBrandt (todd-e-brandt) wrote :

fix committed in 0.53. I changed the behavior of the calibrator to always leave the min and max values in logical order (i.e. MaxX > MinX and MaxY > MinY) and to employ the use of SwapX and SwapY to handle inverted axes. The read_calibration and apply_calibration apis both still take five arguments, but instead of the last arg being rotation, it's a "flags" argument with 4 bits used: b0=SwapX, b1=SwapY, b2=RotateCCW, b4=RotateCW. The moblin-dbustest program has also been updated to read in this new data.