Download

How to send and get android terminal commands

I am building a game to a SBC (odroid XU4) but the controls are implemented with the GPIOs on the SBC. I can make a button and call “cat /sys/class/gpio/gpio24/value” in the android terminal and that will return 1 or 0 depending if the button is pressed or not. Does anyone know how I can get this value from within unreal engine or any other way you can think of to read GPIO info from unreal engine?

I answered your other thread, but you should be able to use fopen("/sys/class/gpio/gpio24/value", “r”).