1
Calculator C / (Ndless 4.2) How to use send_key_event or send_pad_event?
« on: May 08, 2016, 04:52:09 pm »
Hi, I am trying to simulate touchpad arrow presses from software. I saw on hackspire that there are several different functions for doing this. https://hackspire.unsads.com/index.php/Libndls#Keyboard
I am not exactly sure whether I should use the send_key_event or the send_pad_event. Also, I've been searching online for the ASCII codes for the up, left, right, and down arrow and it seems that they are compiler-specific. Has anyone had experience with using these methods that could help me in using them?
Thank you.
P.S. Is crossposting allowed between here and TI-Planet?
I am not exactly sure whether I should use the send_key_event or the send_pad_event. Also, I've been searching online for the ASCII codes for the up, left, right, and down arrow and it seems that they are compiler-specific. Has anyone had experience with using these methods that could help me in using them?
Thank you.
P.S. Is crossposting allowed between here and TI-Planet?