may i check what is the python version you are using can run the app correctly without crashed?
i am using python 3.9.6, that not working, i am not sure is this caused by python version issue?
the app is start success, but nothing on touchbar:
below is the code I am using:
may i check what is the python version you are using can run the app correctly without crashed? i am using python 3.9.6, that not working, i am not sure is this caused by python version issue?
the app is start success, but nothing on touchbar: below is the code I am using:
import pygame import PyTouchBar
pygame.init()
size = width, height = 400,400
screen = pygame.display.set_mode(size) PyTouchBar.prepare_pygame()
label = PyTouchBar.TouchBarItems.Label(text = 'Foo Bar') PyTouchBar.set_touchbar([label])
while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() break