ecore_drm2: Add API function to set virtual terminal
This commit is contained in:
parent
3912427601
commit
f2b2971de7
|
@ -72,6 +72,7 @@ EAPI const Eina_List *ecore_drm2_device_crtcs_get(Ecore_Drm2_Device *dev);
|
|||
EAPI void ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *dev, int w, int h);
|
||||
EAPI Eina_Bool ecore_drm2_device_pointer_rotation_set(Ecore_Drm2_Device *dev, int rotation);
|
||||
EAPI void ecore_drm2_device_calibrate(Ecore_Drm2_Device *dev, int w, int h);
|
||||
EAPI Eina_Bool ecore_drm2_device_vt_set(Ecore_Drm2_Device *dev, int vt);
|
||||
|
||||
/* Display API functions */
|
||||
EAPI char *ecore_drm2_display_name_get(Ecore_Drm2_Display *disp);
|
||||
|
|
|
@ -401,3 +401,11 @@ ecore_drm2_device_calibrate(Ecore_Drm2_Device *dev, int w, int h)
|
|||
EINA_SAFETY_ON_NULL_RETURN(dev->em);
|
||||
elput_input_devices_calibrate(dev->em, w, h);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ecore_drm2_device_vt_set(Ecore_Drm2_Device *dev, int vt)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(dev, EINA_FALSE);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(dev->em, EINA_FALSE);
|
||||
return elput_manager_vt_set(dev->em, vt);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue