ftCommunity / ftcommunity-TXT

Fischertechnik ROBOTICS TXT firmware, community edition
http://cfw.ftcommunity.de/
GNU General Public License v3.0
46 stars 31 forks source link

Fixed fullscreen issue on M1 mac #247

Closed Chromatischer closed 1 year ago

Chromatischer commented 1 year ago

getScreenSize() used IS_ARM to check for running on TXT hardware which caused problems on M1 macs wich are also ARM based systems.

When starting the test.py file as discribed by the tutorial on a M1 mac the window will be locked to fullscreen mode. This is fixed by switching from using IS_ARM to using TXT or TXPI.

ski7777 commented 1 year ago

Can you please check the state of your base branch? You forked from ftrobopy and not this upstream repository. Secondly you changed the codestyle. This is something we should definitely address but not at this point. Please refile this PR in a way, that is is mergeable and as small as needed.