From: Rachael Date: Mon, 1 May 2017 16:43:49 +0000 (-0700) Subject: adds stubs for the new buttons. X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=febe5171cc3279a09b313c59898e5d4e23c30983;p=acmetensortoys-esp-lua_lamp adds stubs for the new buttons. --- 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!