Description

Called when input device changed

Signature

device,changed: free(Efl.Input.Device, efl_del);

C information

C usage

static void
on_efl_canvas_event_device_changed(void *data, const Efl_Event *event)
{
    Efl_Input_Device *info = event->info;
    Eo *obj = event->object;
    Data *d = data;
 
    /* event hander code */
}
 
static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_CANVAS_EVENT_DEVICE_CHANGED, on_efl_canvas_event_device_changed, d);
}