|
|
@ -36,4 +36,4 @@ def get_ids() -> List[int]: |
|
|
|
"""returns list of ids registered in xinput""" |
|
|
|
completed = subprocess.run( |
|
|
|
['xinput', '--list', '--id-only'], capture_output=True) |
|
|
|
return list(map(int), completed.decode(ENCODING)) |
|
|
|
return list(map(int, completed.stdout.decode(ENCODING).split())) |