And cleanup the EO file a little bit.
}
EOLIAN static unsigned int
-_efl_input_device_seat_id_get(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd)
+_efl_input_device_seat_id_get(Eo *obj, Efl_Input_Device_Data *pd)
{
- EINA_SAFETY_ON_TRUE_RETURN_VAL(pd->klass != EFL_INPUT_DEVICE_CLASS_SEAT, 0);
- return pd->id;
+ if (pd->klass == EFL_INPUT_DEVICE_CLASS_SEAT)
+ return pd->id;
+ return efl_input_device_seat_id_get(efl_input_device_seat_get(obj));
}
EOLIAN static Efl_Input_Device *
}
-/* This represents Evas_Device */
/* FIXME: no children and no Evas */
class Efl.Input.Device (Efl.Object)
@since 1.18
]]
methods {
- /* FIXME: device_class makes compilation error because of class_get() */
@property device_type {
[[Device type property]]
values {
}
@property parent {
[[Device parent property]]
- set {}
- get {}
values {
parent: Efl.Input.Device; [[Parent input device]]
}
}
@property seat_id {
[[Seat id number
+
@since 1.20
]]
- set{}
- get{}
values {
id: uint; [[The id of the seat]]
}