← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 378572] Re: evtouch calibrate axis inversion feature needed

 

I am having problems as well. I have configured my eGalax touchscreen in
/usr/share/hal/fdi/policy/20thirdparty/50-eGalax.fdi as follows:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="eGalax">
      <match key="info.capabilities" contains="input">
        <merge key="input.x11_driver" type="string">evtouch</merge>
        <merge key="input.x11_options.minx" type="string">130</merge>
        <merge key="input.x11_options.miny" type="string">250</merge>
        <merge key="input.x11_options.maxx" type="string">1850</merge>
        <merge key="input.x11_options.maxy" type="string">1840</merge>
        <merge key="input.x11_options.taptimer" type="string">30</merge>
        <merge key="input.x11_options.longtouchtimer" type="string">500</merge>
        <merge key="input.x11_options.longtouched_action" type="string">down</merge>
        <merge key="input.x11_options.longtouched_button" type="string">3</merge>
        <merge key="input.x11_options.oneandhalftap_button" type="string">0</merge>
        <merge key="input.x11_options.movelimit" type="string">18</merge>
        <merge key="input.x11_options.touched_drag" type="string">1</merge>
        <merge key="input.x11_options.maybetapped_action" type="string">click</merge>
        <merge key="input.x11_options.maybetapped_button" type="string">1</merge>
        <merge key="input.x11_options.swapy" type="string">On</merge>
        </match>
    </match>
  </device>
</deviceinfo>

All of this seems to work, EXCEPT for one option:
<merge key="input.x11_options.swapy" type="string">On</merge>

I have tried everything. I have tried these variants:
<merge key="input.x11_options.swapy" type="string">1</merge>
<merge key="input.x11_options.swapy" type="bool">true</merge>
<merge key="input.x11_options.SwapY" type="string">On</merge>
<merge key="input.x11_options.inverty" type="bool">true</merge>

None of them do anything to swap my Y axis. Some of them seem to affect
the output of lshal and I get a 'swapy (bool)' equalling 'true', but
this doesn't seem to take effect anywhere.

Also, adding a 'ReportingMode' value of 'Raw' doesn't show up in lshal,
not that it seems to matter if I have that in there or not.

Finally, manually swapping the values of 'miny' and 'maxy' has no effect
whatsoever. I can tell that all my other settings are working, because
the scale of my cursor movement is now correct.

I am able to configure my touchscreen in xorg.conf, but this is
deprecated, and I need to have hotplug working.

-- 
evtouch calibrate axis inversion feature needed
https://bugs.launchpad.net/bugs/378572
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xf86-input-evtouch in ubuntu.



References