You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: