@ -4,6 +4,7 @@ from multipledispatch import dispatch
ENCODING = 'utf-8'
@dispatch()
def get_list_short():
"""Returns string output of the `xinput --list --short` command encoded as
@ -1,6 +1,7 @@
import xutil.common as com
import re
class XInput:
"""Base XInput class
@ -36,6 +37,7 @@ class Pointer(XInput):
def __init__(self, name, id, is_master: bool) -> None:
super().__init__(name, id, is_master)
def get_short_pointer(id) -> Pointer:
"""Generates Pointer object corresponding to id (short attrs)