From: duna.oh Date: Wed, 7 Feb 2024 09:04:11 +0000 (+0900) Subject: ecore_device: add new device subclasses X-Git-Tag: accepted/tizen/unified/20240208.163956^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F305759%2F1;p=platform%2Fupstream%2Fefl.git ecore_device: add new device subclasses - ECORE_DEVICE_SUBCLASS_VIRTUAL_REMOCON - ECORE_DEVICE_SUBCLASS_VIRTUAL_MOUSE Change-Id: I2d36073a1132eeb36046fa1600166d4a963c55ed --- diff --git a/src/lib/ecore/Ecore_Common.h b/src/lib/ecore/Ecore_Common.h index dac5651..0857958 100644 --- a/src/lib/ecore/Ecore_Common.h +++ b/src/lib/ecore/Ecore_Common.h @@ -3298,6 +3298,8 @@ typedef unsigned int Ecore_Device_Subclass; #define ECORE_DEVICE_SUBCLASS_TRACKBALL ECORE_INPUT_DEVICE_SUBTYPE_TRACKBALL /**< A trackball style mouse @since 1.18 */ #define ECORE_DEVICE_SUBCLASS_REMOCON ECORE_INPUT_DEVICE_SUBTYPE_REMOCON /**< A remote controller @since_tizen 4.0 */ #define ECORE_DEVICE_SUBCLASS_VIRTUAL_KEYBOARD ECORE_INPUT_DEVICE_SUBTYPE_VIRTUAL_KEYBOARD /**< A virtual keyboard @since_tizen 4.0*/ +#define ECORE_DEVICE_SUBCLASS_VIRTUAL_REMOCON ECORE_INPUT_DEVICE_SUBTYPE_VIRTUAL_REMOCON /**< A virtual remocon @since_tizen 8.0*/ +#define ECORE_DEVICE_SUBCLASS_VIRTUAL_MOUSE ECORE_INPUT_DEVICE_SUBTYPE_VIRTUAL_MOUSE /**< A virtual mouse @since_tizen 8.0*/ typedef struct _Ecore_Device_Event_Info Ecore_Device_Event_Info; /**< @since 1.18 */ diff --git a/src/lib/ecore/ecore_input_device.eo b/src/lib/ecore/ecore_input_device.eo index 059282a..36cf098 100644 --- a/src/lib/ecore/ecore_input_device.eo +++ b/src/lib/ecore/ecore_input_device.eo @@ -30,6 +30,10 @@ enum Ecore.Input.Device_Subtype remocon, [[A remote controller.]] virtual_keyboard, [[A virtual keyboard.]] // +// TIZEN_ONLY(20240207): Add new device subclasses. + virtual_remocon, [[A virtual remote controller.]] + virtual_mouse, [[A virtual mouse.]] +// } // diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index 62d5834..a7797b8 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -349,7 +349,10 @@ typedef enum EVAS_DEVICE_SUBCLASS_TRACKBALL, /**< A trackball style mouse. */ // TIZEN_ONLY(20170620): Add new device subclasses. EVAS_DEVICE_SUBCLASS_REMOCON, /**< A remote controller @since_tizen 4.0 */ - EVAS_DEVICE_SUBCLASS_VIRTUAL_KEYBOARD /**< A virtual keyboard @since_tizen 4.0*/ + EVAS_DEVICE_SUBCLASS_VIRTUAL_KEYBOARD, /**< A virtual keyboard @since_tizen 4.0*/ +// TIZEN_ONLY(20240207): Add new device subclasses. + EVAS_DEVICE_SUBCLASS_VIRTUAL_REMOCON, /**< A virtual remocon @since_tizen 8.0*/ + EVAS_DEVICE_SUBCLASS_VIRTUAL_MOUSE /**< A virtual mouse @since_tizen 8.0*/ // } Evas_Device_Subclass;