public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ramesh R. <rameshr@ami.com>
To: Michael Zimmermann <sigmaepsilon92@gmail.com>,
	edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values
Date: Tue, 22 Aug 2017 06:35:23 +0000	[thread overview]
Message-ID: <FCB618580B279147A99F061E09CFF06D0118D2CCFC@VENUS1.in.megatrends.com> (raw)
In-Reply-To: <CAN9vWDKi7YPyVqxwyqkh4Bozh0Oh3AGv3p8HnOYGuvn0tqsLgw@mail.gmail.com>

Hi Michael,

   The values are related to the display device resolution. Each Protocol has the EFI_ABSOLUTE_POINTER_MODE defined and it has the value of the actual screen hardware resolution ( not the current display resolution). 

The touched values are based screen hardware resolution. 

Thanks,
Ramesh

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Michael Zimmermann
Sent: 21 August 2017 22:12
To: edk2-devel-01
Subject: [edk2] meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values

Do the axis-values returned by this protocol need to have any relation to the device's screen so I can reliably calculate which pixel was touched?(at least with the rule of three).

If not every application using the touchscreen would have to provide it's own calibration tool and store the results in a config.

Thanks
Michael
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2017-08-22  6:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 16:41 meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values Michael Zimmermann
2017-08-22  6:35 ` Ramesh R. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FCB618580B279147A99F061E09CFF06D0118D2CCFC@VENUS1.in.megatrends.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox