Is it possible to pan around a virtual screen using a smaller touchscreen display

Daniel Harris mail.dharris at googlemail.com
Tue Apr 21 06:50:47 PDT 2015


Hello Peter

I appreciate your reply.  I am not sure we are talking about the same thing
so I have uploaded a video to youtube showing the problem i am experiencing

If anyone is interested you can find it here http://youtu.be/n8N0NnB9u7g

are you saying the pointer position can be corrected with a client app or
can it only be fixed in X.

Thanks

Dan

On Tue, Apr 21, 2015 at 2:41 AM, Peter Hutterer <peter.hutterer at who-t.net>
wrote:

> On Mon, Apr 20, 2015 at 05:21:44PM +0100, Daniel Harris wrote:
> > I am assuming that it is a limitation that a stylus cannot map it
> position
> > to a physical screen and a larger virtual screen at the same time.  I
> > currently have panning in the virtual screen but calibration is way off
> on
> > the physical screen.  I am assuming no mathematical wizardry with the
> > current setting can rectify this.
>
> should be able to, it just requires more effort once you start panning
> around. the mapping of the stylus to screen is done by a matrix that takes
> the whole desktop size into account. outputs as such don't matter here,
> e.g.
> mapping to the right of two monitors is done by mapping to the 50% of the
> width with a 50% offset.
>
> that means you can map to any part of the desktop, problem is it won't
> follow you around as you pan. you'd need some client to track that and
> update the coordinate transformation matrix as you go.
>
> Cheers,
>    Peter
>
>
> > On Sat, Apr 18, 2015 at 4:19 PM, Daniel Harris <
> mail.dharris at googlemail.com>
> > wrote:
> >
> > > Hello
> > >
> > > I have a surface pro 2 and would like to create a virtual screen of
> > > 3840x2160 and pan around using the 1920x1080 stylus enabled
> touchscreen on
> > > the surface pro 2.  I have Ubuntu installed and the screen setup but I
> > > cannot get the stylus to function correctly with that setup.  I have
> tried
> > > experimenting with the translation matrix but with no success.
> > >
> > > Is the above setup possible?
> > >
> > > I would welcome any advice as to how to achieve this setup
> > >
> > > Thanks in advance
> > >
> > > Dan
> > >
>
> > _______________________________________________
> > xorg at lists.x.org: X.Org support
> > Archives: http://lists.freedesktop.org/archives/xorg
> > Info: http://lists.x.org/mailman/listinfo/xorg
> > Your subscription address: %(user_address)s
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20150421/988c2c4d/attachment.html>


More information about the xorg mailing list