Functions
Framebuffer Calibration Functions

Functions that calibrate the screen. More...

Functions

EAPI void ecore_fb_touch_screen_calibrate_set (int xscale, int xtrans, int yscale, int ytrans, int xyswap)
 Calibrates the touschreen using the given parameters. More...
 
EAPI void ecore_fb_touch_screen_calibrate_get (int *xscale, int *xtrans, int *yscale, int *ytrans, int *xyswap)
 Retrieves the calibration parameters of the touchscreen. More...
 

Detailed Description

Functions that calibrate the screen.

Function Documentation

◆ ecore_fb_touch_screen_calibrate_set()

EAPI void ecore_fb_touch_screen_calibrate_set ( int  xscale,
int  xtrans,
int  yscale,
int  ytrans,
int  xyswap 
)

Calibrates the touschreen using the given parameters.

Parameters
xscaleX scaling, where 256 = 1.0
xtransX translation.
yscaleY scaling.
ytransY translation.
xyswapSwap X & Y flag.

◆ ecore_fb_touch_screen_calibrate_get()

EAPI void ecore_fb_touch_screen_calibrate_get ( int *  xscale,
int *  xtrans,
int *  yscale,
int *  ytrans,
int *  xyswap 
)

Retrieves the calibration parameters of the touchscreen.

Parameters
xscalePointer to an integer in which to store the X scaling. Note that 256 = 1.0.
xtransPointer to an integer in which to store the X translation.
yscalePointer to an integer in which to store the Y scaling.
ytransPointer to an integer in which to store the Y translation.
xyswapPointer to an integer in which to store the Swap X & Y flag.