Skip to content

Commit

Permalink
add easy access functions to input helper
Browse files Browse the repository at this point in the history
  • Loading branch information
AIIX committed May 17, 2022
1 parent eec3085 commit 7cbe7c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ovos_utils/device_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 7cbe7c6

Please sign in to comment.