Sorry I can't create pul request, so I'll describe issue and fix there:
On HarmonyOS, controller cannot get device resolution when it calls get_device_size()
Fix:
in scripts/and_controller.py
change line 101
return map(int, result.split(": ")[1].split("x"))
to
return map(int, result.split('\n')[0].split(": ")[1].split("x"))
Sorry I can't create pul request, so I'll describe issue and fix there: On HarmonyOS, controller cannot get device resolution when it calls get_device_size() Fix: in scripts/and_controller.py change line 101 return map(int, result.split(": ")[1].split("x")) to return map(int, result.split('\n')[0].split(": ")[1].split("x"))
Otherwise its not usable with HarmonyOS