|
|
@ -1,4 +1,4 @@ |
|
|
|
import xutil.common as com |
|
|
|
import x as xutil |
|
|
|
import re |
|
|
|
|
|
|
|
|
|
|
@ -55,7 +55,7 @@ def get_short_pointer(id) -> Pointer: |
|
|
|
ValueError: if id is not reistered with xinput |
|
|
|
ValueError: if id is not a pointer id |
|
|
|
""" |
|
|
|
desc = com.get_list_short(id) |
|
|
|
desc = xutil.get_list_short(id) |
|
|
|
name, props = desc.rsplit('id=', 1) |
|
|
|
if "pointer" in props: |
|
|
|
is_master = "master" in props |
|
|
@ -81,7 +81,7 @@ def get_pointers(is_short=True): |
|
|
|
to the system for processing them individually and per-case). |
|
|
|
""" |
|
|
|
pointers = [] |
|
|
|
ids = com.get_ids() |
|
|
|
ids = xutil.get_ids() |
|
|
|
for id in ids: |
|
|
|
if is_short: |
|
|
|
try: |
|
|
|