Windows 10 sketch and mac os

I was able to complete an adafruit trinket project using arduino 1.8 on windows, and the trinket gamepad library.

The project works fine, no errors, when i plug the trinket to a USB port on a windows 10 pc.

If i plug the thing i've made to a mac, is it going to work?

Thanks in advance.

If i plug the thing i've made to a mac, is it going to work?

If the code is already loaded on the trinket and it works then all it needs is a 5V supply, such as that from a USB socket whether that is on a PC, Mac, powerbank or a 'phone charger the system won't care as long as enough current is available at the correct voltage

Thank you