From febe5171cc3279a09b313c59898e5d4e23c30983 Mon Sep 17 00:00:00 2001 From: Rachael Date: Mon, 1 May 2017 09:43:49 -0700 Subject: [PATCH] adds stubs for the new buttons. --- lamp-touch.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lamp-touch.lua b/lamp-touch.lua index 89f3a2a..b66294b 100644 --- a/lamp-touch.lua +++ b/lamp-touch.lua @@ -147,9 +147,16 @@ local function ontouch() claimfb() end + -- XXX left side front button if bit.isset(down,5) then - -- I could have sworn I had already started this :\ + end + + -- XXX left side middle button + if bit.isset(down, 6) then + end + -- XXX left side back button + if bit.isset(down, 7) then end -- draw if we've claimed it! -- 2.50.1