input manager provides ground of truth on device input choise

This commit is contained in:
Adolfo Reyna
2026-01-30 22:07:31 -05:00
parent 436245a7a2
commit f860d4f5e6
10 changed files with 97 additions and 44 deletions

View File

@@ -55,6 +55,18 @@ public:
* @return Constant string with gesture name
*/
static const char* get_gesture_name(uint8_t gesture_code);
/**
* @brief Check if touch input is available
* @return true if touch controller is present, false otherwise
*/
bool has_touch() const;
/**
* @brief Check if hardware buttons are available
* @return true if physical buttons are present, false otherwise
*/
bool has_buttons() const;
private:
LowLevelTouch* touch;