/**
* @file buttons.h
* ESP32 GPIO button driver
*/
#pragma once
#include <stdint.h>
/**
* Initialize GPIO pins for button inputs
*/
void buttons_init(void);
/**
* Poll GPIO pins and update button_state
* Call this in the main loop before lv_timer_handler()
*/
void buttons_update(void);
extern uint32_t buttons_duration_released;