summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@osg.samsung.com>2017-06-17 01:13:28 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2017-06-20 16:43:49 +1000
commit4cf9f8bee19104d60031dd040f5758a10ed805b5 (patch)
tree8be526f0e0b8557498c91c6e330c555638134dac /meson_options.txt
parentd2054c8188681868c77f731ba3641ecbe5b775dc (diff)
doc: Fix mistake in Matrix example to relect only X along Y axis
On some devices, X coordinate is not working well, like if it is swapped: click on right, pointer appear on left and vice versa. To sort this issue, coordinates should be reflected on Y axis: - new X position is changed (width is subtracted by X position) - Y is unchanged (it was wrongly set to X) In landscape (or portrait) mode: [ x ] [ y ] [ 1 ] * = [ -1 0 1 ] [ x' ] = -x + 0*y + 1*width [ 0 1 0 ] [ y' ] = 0*x + 1*y + 0*height [ 0 0 1 ] [ 1 ] This was verified using this touch screen (usb="0eef:0001") E: ID_VENDOR=eGalax_Inc. E: ID_VENDOR_ENC=eGalax\x20Inc. E: ID_VENDOR_ID=0eef https://bugs.freedesktop.org/show_bug.cgi?id=101474 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions