input manager provides ground of truth on device input choise
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user