Functions that deal with finding, opening, closing, or obtaining various information about a drm device. More...
Functions | |
EAPI Ecore_Drm2_Device * | ecore_drm2_device_find (const char *seat, unsigned int tty) |
Try to find a drm device on a given seat. More... | |
EAPI int | ecore_drm2_device_open (Ecore_Drm2_Device *device) |
Try to open a given Ecore_Drm2_Device. More... | |
EAPI void | ecore_drm2_device_close (Ecore_Drm2_Device *device) |
Close an open Ecore_Drm2_Device. More... | |
EAPI void | ecore_drm2_device_free (Ecore_Drm2_Device *device) |
Free a given Ecore_Drm2_Device. More... | |
EAPI int | ecore_drm2_device_clock_id_get (Ecore_Drm2_Device *device) |
Get the type of clock used by a given Ecore_Drm2_Device. More... | |
EAPI void | ecore_drm2_device_cursor_size_get (Ecore_Drm2_Device *device, int *width, int *height) |
Get the size of the cursor supported by a given Ecore_Drm2_Device. More... | |
EAPI void | ecore_drm2_device_pointer_xy_get (Ecore_Drm2_Device *device, int *x, int *y) |
Get the current pointer position. More... | |
EAPI void | ecore_drm2_device_pointer_warp (Ecore_Drm2_Device *device, int x, int y) |
Warp the pointer position to given coordinates. More... | |
EAPI Eina_Bool | ecore_drm2_device_pointer_left_handed_set (Ecore_Drm2_Device *device, Eina_Bool left) |
Set a left handed mode for the given device. More... | |
EAPI void | ecore_drm2_device_window_set (Ecore_Drm2_Device *device, unsigned int window) |
Set which window is to be used for input events. More... | |
EAPI void | ecore_drm2_device_pointer_max_set (Ecore_Drm2_Device *device, int w, int h) |
Set maximium position that pointer device is allowed to move. More... | |
EAPI void | ecore_drm2_device_keyboard_cached_context_set (Ecore_Drm2_Device *device, void *context) |
Set a cached context to be used on keyboards. More... | |
EAPI void | ecore_drm2_device_keyboard_cached_keymap_set (Ecore_Drm2_Device *device, void *keymap) |
Set a cached keymap to be used on keyboards. More... | |
EAPI unsigned int * | ecore_drm2_device_crtcs_get (Ecore_Drm2_Device *device, int *num) |
Get the crtcs of a given device. More... | |
EAPI void | ecore_drm2_device_screen_size_range_get (Ecore_Drm2_Device *device, int *minw, int *minh, int *maxw, int *maxh) |
Get the minimum and maximum screen size range. More... | |
EAPI void | ecore_drm2_device_calibrate (Ecore_Drm2_Device *device, int w, int h) |
Calibrate any input devices for given screen size. More... | |
EAPI Eina_Bool | ecore_drm2_device_vt_set (Ecore_Drm2_Device *device, int vt) |
Try to switch to a given virtual terminal. More... | |
Functions that deal with finding, opening, closing, or obtaining various information about a drm device.
EAPI Ecore_Drm2_Device* ecore_drm2_device_find | ( | const char * | seat, |
unsigned int | tty | ||
) |
Try to find a drm device on a given seat.
seat | |
tty | |
sync |
References eina_stringshare_del(), elput_manager_connect(), and ERR.
EAPI int ecore_drm2_device_open | ( | Ecore_Drm2_Device * | device | ) |
Try to open a given Ecore_Drm2_Device.
device |
EAPI void ecore_drm2_device_close | ( | Ecore_Drm2_Device * | device | ) |
Close an open Ecore_Drm2_Device.
device |
EAPI void ecore_drm2_device_free | ( | Ecore_Drm2_Device * | device | ) |
Free a given Ecore_Drm2_Device.
device |
EAPI int ecore_drm2_device_clock_id_get | ( | Ecore_Drm2_Device * | device | ) |
Get the type of clock used by a given Ecore_Drm2_Device.
device |
EAPI void ecore_drm2_device_cursor_size_get | ( | Ecore_Drm2_Device * | device, |
int * | width, | ||
int * | height | ||
) |
Get the size of the cursor supported by a given Ecore_Drm2_Device.
device | |
width | |
height |
EAPI void ecore_drm2_device_pointer_xy_get | ( | Ecore_Drm2_Device * | device, |
int * | x, | ||
int * | y | ||
) |
Get the current pointer position.
device | |
x | |
y |
EAPI void ecore_drm2_device_pointer_warp | ( | Ecore_Drm2_Device * | device, |
int | x, | ||
int | y | ||
) |
Warp the pointer position to given coordinates.
dev | |
x | |
y |
EAPI Eina_Bool ecore_drm2_device_pointer_left_handed_set | ( | Ecore_Drm2_Device * | device, |
Eina_Bool | left | ||
) |
Set a left handed mode for the given device.
device | |
left |
EAPI void ecore_drm2_device_window_set | ( | Ecore_Drm2_Device * | device, |
unsigned int | window | ||
) |
Set which window is to be used for input events.
device | |
window |
EAPI void ecore_drm2_device_pointer_max_set | ( | Ecore_Drm2_Device * | device, |
int | w, | ||
int | h | ||
) |
Set maximium position that pointer device is allowed to move.
device | |
w | |
h |
EAPI void ecore_drm2_device_keyboard_cached_context_set | ( | Ecore_Drm2_Device * | device, |
void * | context | ||
) |
Set a cached context to be used on keyboards.
device | |
context |
EAPI void ecore_drm2_device_keyboard_cached_keymap_set | ( | Ecore_Drm2_Device * | device, |
void * | keymap | ||
) |
Set a cached keymap to be used on keyboards.
device | |
keymap |
EAPI unsigned int* ecore_drm2_device_crtcs_get | ( | Ecore_Drm2_Device * | device, |
int * | num | ||
) |
Get the crtcs of a given device.
device | |
num |
EAPI void ecore_drm2_device_screen_size_range_get | ( | Ecore_Drm2_Device * | device, |
int * | minw, | ||
int * | minh, | ||
int * | maxw, | ||
int * | maxh | ||
) |
Get the minimum and maximum screen size range.
device | |
*minw | |
*minh | |
*maxw | |
*maxh |
EAPI void ecore_drm2_device_calibrate | ( | Ecore_Drm2_Device * | device, |
int | w, | ||
int | h | ||
) |
Calibrate any input devices for given screen size.
device | |
w | |
h |