BroMarduk / ptmenu

A menu system for the Adafruit (and possibly other) PiTFT displays (most with touchscreen).
MIT License
1 stars 0 forks source link

Make the GPIO Buttons into a template similar to the soft Display Buttons templates #5

Closed BroMarduk closed 7 years ago

BroMarduk commented 7 years ago

Create reusable templates for GPIO buttons starting with configurations for each of the PiTFTs with buttons.

BroMarduk commented 7 years ago

Changed code so that automatic backlight functions are implemented via parameter. With all the added options, adding templates for gpio buttons did not make sense. An action for a button can now include an array of actions to execute on press.