From 7cbe7c673a739ccafcbe2803e91b43b4385c5952 Mon Sep 17 00:00:00 2001 From: Aditya Mehra Date: Tue, 17 May 2022 20:09:07 +0930 Subject: [PATCH] add easy access functions to input helper --- ovos_utils/device_input.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ovos_utils/device_input.py b/ovos_utils/device_input.py index a8b613d0..1284bf3e 100644 --- a/ovos_utils/device_input.py +++ b/ovos_utils/device_input.py @@ -86,3 +86,11 @@ def can_use_keyboard(self): return True return False + + +def can_use_touch_mouse(): + return InputDeviceHelper().can_use_touch_mouse() + + +def can_use_keyboard(): + return InputDeviceHelper().can_use_keyboard()