public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values
@ 2017-08-21 16:41 Michael Zimmermann
  2017-08-22  6:35 ` Ramesh R.
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Zimmermann @ 2017-08-21 16:41 UTC (permalink / raw)
  To: edk2-devel-01

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values
  2017-08-21 16:41 meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values Michael Zimmermann
@ 2017-08-22  6:35 ` Ramesh R.
  0 siblings, 0 replies; 2+ messages in thread
From: Ramesh R. @ 2017-08-22  6:35 UTC (permalink / raw)
  To: Michael Zimmermann, edk2-devel-01

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-22  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 16:41 meaning of EFI_ABSOLUTE_POINTER_PROTOCOL axis values Michael Zimmermann
2017-08-22  6:35 ` Ramesh R.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox