summaryrefslogtreecommitdiff
path: root/include/expo.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-05-02 08:46:15 -0600
committerSimon Glass <[email protected]>2025-05-30 09:49:31 +0100
commit5c365ecabcac6d3218cf7e560bda01629a46d88e (patch)
tree59dd168bdade393dc3f0d84f2fa1aadf2293cdc4 /include/expo.h
parent4f4b9477f4476cd86ffd4219111065d610c5237a (diff)
expo: Add CLI context to the expo
An expo generally needs to keep track of the keyboard state while it is running, so move the context into struct expo Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/expo.h')
-rw-r--r--include/expo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/expo.h b/include/expo.h
index 3c383d2e2ee..b3b9c0b8872 100644
--- a/include/expo.h
+++ b/include/expo.h
@@ -108,6 +108,7 @@ struct expo_theme {
* @theme: Information about fonts styles, etc.
* @scene_head: List of scenes
* @str_head: list of strings
+ * @cch: Keyboard context for input
*/
struct expo {
char *name;
@@ -122,6 +123,7 @@ struct expo {
struct expo_theme theme;
struct list_head scene_head;
struct list_head str_head;
+ struct cli_ch_state cch;
};
/**