[Concept,06/23] expo: Tidy up a few key-related comments
Commit Message
From: Simon Glass <sjg@chromium.org>
Fix up send_key_obj() to mention a missing argument. Add a bit more
detail in scene_send_key() to explain what 'processing' means.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
boot/scene.c | 1 +
boot/scene_internal.h | 3 +++
2 files changed, 4 insertions(+)
@@ -909,6 +909,7 @@ int scene_render(struct scene *scn)
* send_key_obj() - Handle a keypress for moving between objects
*
* @scn: Scene to receive the key
+ * @obj: Object to receive the key
* @key: Key to send (KEYCODE_UP)
* @event: Returns resulting event from this keypress
* Returns: 0 if OK, -ve on error
@@ -231,6 +231,9 @@ int scene_render(struct scene *scn);
/**
* scene_send_key() - set a keypress to a scene
*
+ * This processes the key, taking any action that is needed, such as moving
+ * between menu items or editing the text in a textline
+ *
* @scn: Scene to receive the key
* @key: Key to send (KEYCODE_UP)
* @event: Returns resulting event from this keypress