Login
1 branch 0 tags
Ben (T14/NixOS) Minor cleanup 2ca9f62 1 month ago 22 Commits
moon / firmware / esp32 / main / buttons.h
/**
 * @file buttons.h
 * ESP32 GPIO button driver
 */

#pragma once

/**
 * 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);