Arduino/ arduino-like plugin for Mac in unreal engine?

I was wondering if there was a plugin for mac in which I can use an arduino or any other program that would allow me to use a pressure pad to start an unreal engine game.

Thanks in advance!