Permalink
Commits on Jun 26, 2012
  1. Fixing xinput_do_set_prop into cleaner xinput_do_set_int_prop Also fi…

    tonio73 committed with tias Jan 31, 2011
    …xing property issue on invert axes
  2. remove invertX/Y from evdev config outputting

    tias committed Jun 26, 2012
    invertX/Y is automatically handled by xf86ScaleAxis
    avoid outputting it so users don't manually change it
    (it is still set/unset in dynamic calibration when needed though)
  3. CalibratorEvdev: remove TODO about evdev 2.3.2

    tias committed Jun 26, 2012
    we now support (and have tests) for evdev 2.7.0
  4. Merge branch 'evdev_inversion'

    tias committed Jun 26, 2012
    At last! See patches for details, tester for tests.
  5. Fix evdev calibration when invertX/Y is set

    tias committed Jun 26, 2012
    From evdev 2.3.2 onwards, it does something crazy when the
    invertX/Y option is manually set
    This has to be undone in the calibrator before doing the calib
    calculation.
    
    I say 'manually set' above because invertX/Y is a useless option:
    xf86ScaleAxis can deal with axis inversion automatically,
    hence, nobody should ever ever set invertX/Y ever.
    Just let the calibrator calculate the calibration for you!
  6. Merge branch 'calibration_cleanup'

    tias committed Jun 26, 2012
    Cleanup/rewrite of calibration code, equivalent calculations (checked
    with tester); actually, slightly more accurate calculations.
  7. Rewrite and simplify swapping

    tias committed Jun 26, 2012
    Inspired by forest bond's 'calibrator: Convert to device coordinates
    immediately.' patch:
    forest-bond@1283252
  8. two minor API cleanups

    tias committed Jun 25, 2012
  9. calib calculation: use floats

    tias committed Jun 25, 2012
  10. Merge branch 'evdev_emulation_interface'

    tias committed Jun 25, 2012
    Evdev 2.7.0 tester
    
    It shows that the evdev regression is in the use of the invert_x/invert_y option, together with axis swapping (which is silly, because invert_x/invert_y are options you don't manually need to specify because of the mathematical properties of xf86ScaleAxis)
Commits on Jun 22, 2012
Commits on Jun 21, 2012
  1. Create CalibratorTesterInterface

    tias committed Jun 20, 2012
Commits on Jun 20, 2012
  1. Merge pull request #38 from Tokoyami/master

    tias committed Jun 20, 2012
    Take rotation into account when calculating display size
Commits on Jun 19, 2012
  1. take rotation into account when calculating display size

    tokoyami committed Nov 30, 2011
    changed GuiCalibratorX11::redraw() to fall back to X if xrandr is not available
Commits on Jun 18, 2012
  1. Merge branch 'tester'

    tias committed Jun 18, 2012
    A tester object to faithfully test the calibration routines.
    This will be reused for testing the evdev calibration (which
    is non-standard) as well.
  2. Some more tests, kind-of

    tias committed Jun 15, 2012
  3. show maxdiff during testing

    tias committed Jun 15, 2012
  4. driver emulation implementation

    tias committed Jun 15, 2012
  5. Add (xf86)scaleAxis code

    tias committed Jun 15, 2012
  6. Tester: test calibration routines and make assumptions explicit

    tias committed Jun 13, 2012
    The tester will serve to test the calibration code,
    while doing so, it will make the assumptions about the calibration
    in the driver (e.g. how it uses the calibration values, and
    especially swap_xy and inversion and the like) explicit.
    
    The goal is to give assurances about the correctness of the calibration,
    without needing to have devices in all possible swapaxes/inversion
    combinations.
  7. XYinfo: add print method

    tias committed Jun 13, 2012
Commits on Jun 9, 2012
Commits on Jun 7, 2012
  1. Merge branch 'tonio73_xyinfo'

    tias committed Jun 7, 2012
  2. inversion support for evdev and xorgprint

    tonio73 committed with tias Jan 28, 2011
    This patch was originally part of Antoine Hue's commit with message
    '''Managing correctly X/Y swap and X or Y inversion: - detect swap and
    inversion modification - take into account for inversion in calibration
    computation since Evdev is doing inversion after calibration. - Mainly
    tested for Evdev based driver. To be tested for USB.'''
    
    Signed-off-by: Tias Guns <tias@ulyssis.org>
  3. new_axys now contains the axys value to write

    tias committed Jun 19, 2011
    previously, new_axys.swap_xy meant that the old swap_xy value needed to
    be swapped.
    Now, new_axys is initialised to old_axys,
    such that setting new_axys.do_swap_xy() swaps the axys and hence
    new_axys contains the axys values to write.
    Similar for invert_x, invert_y
    
    Changes to Usbtouchscreen were not needed as it resets swap/inversion
    values to 'false' before doing calibration.