From 992e7fb9358a0d0a5d99ba119cf584477bda8d72 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 24 Jun 2022 17:28:38 +0200 Subject: peripheral: provide common actions Whereas some actions are context-specific (e.g.: selecting a player), some are context-independent and can be executed for all screens (e.g.: exiting the game). --- src/peripheral/inc/peripheral.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/peripheral/inc') diff --git a/src/peripheral/inc/peripheral.h b/src/peripheral/inc/peripheral.h index c405c3c..956d965 100644 --- a/src/peripheral/inc/peripheral.h +++ b/src/peripheral/inc/peripheral.h @@ -25,6 +25,7 @@ union peripheral struct peripheral_common { enum peripheral_type type; + bool exit; } common; struct peripheral_pad -- cgit v1.2.3