From 9472ba1d39e85b11c28d16b793fac1150ba153e5 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Wed, 20 Jan 2016 18:12:47 -0600 Subject: gui: Actions: Toggle backlight on power key Create GUIAction to handle KEY_POWER with a screen backlight toggle. Change-Id: Iad0a7923b4a776e0336722db74d6fc46cd0107a2 --- gui/objects.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/objects.hpp') diff --git a/gui/objects.hpp b/gui/objects.hpp index f1c9c49dd..28ed29cdb 100644 --- a/gui/objects.hpp +++ b/gui/objects.hpp @@ -363,6 +363,7 @@ protected: int checkpartitionlifetimewrites(std::string arg); int mountsystemtoggle(std::string arg); int setlanguage(std::string arg); + int togglebacklight(std::string arg); int twcmd(std::string arg); int setbootslot(std::string arg); int installapp(std::string arg); -- cgit v1.2.3