Change-Id: I55e5acf46e792128bcfdd845df4d5fe591dc2995
unsigned int num_keys = keyboard->keys.size / sizeof(uint32_t);
unsigned int i;
- if (id != PEPPER_EVENT_KEYBOARD_KEY)
+ if (id != PEPPER_EVENT_INPUT_DEVICE_KEYBOARD_KEY)
return;
/* Update the array of pressed keys. */
update_key(keyboard, event->key, event->state);
- pepper_object_emit_event(&keyboard->base, id, event);
+ pepper_object_emit_event(&keyboard->base, PEPPER_EVENT_KEYBOARD_KEY, event);
}
static void