- Tue Oct 03, 2017 4:20 pm
#196399
Hello,
I am trying to send keyevent commands from my Leonardo to my Android tablet, part of a head unit. I can send the commands via ADB shell on my laptop, but I cannot figure out how to send them via the arduino.
I have been looking for weeks on how to do this, I have gotten some close hits (http://www.instructables.com/id/USB-Ped ... -Leonardo/) but they are in the area of sending the standard ASCII keyboard codes, and I am looking to send screen diming/brighten and sleep/wake.
Thanks,
-Erik
I am trying to send keyevent commands from my Leonardo to my Android tablet, part of a head unit. I can send the commands via ADB shell on my laptop, but I cannot figure out how to send them via the arduino.
I have been looking for weeks on how to do this, I have gotten some close hits (http://www.instructables.com/id/USB-Ped ... -Leonardo/) but they are in the area of sending the standard ASCII keyboard codes, and I am looking to send screen diming/brighten and sleep/wake.
Thanks,
-Erik