July 06, 2020, 08:08:36 pm

The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

WARNING: DO NOT UPGRADE your TI-83 Premium CE or TI-84 Plus CE to OS 5.5.1 and higher. It removes all compatibility with most games and removes ASM/C programming! DOWNGRADING IS IMPOSSIBLE. BE WARNED! Likewise, do NOT update your TI-Nspire CX past OS 4.5.0, else using Ndless and ASM/C programs will be impossible.

Is It possible to program buttons to move cursor on screen ?

Started by mrhoola, September 27, 2015, 05:22:55 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrhoola

I dont know how to program an inspire nor do I know if the following is possible

Is it possible to program the Ti Nspire Cx CAS's numeric keys 2,4,6,8 to move the cursor (down, left, right , up) on the screen while holding the control button ? I think it will make it more comfortable to maneuver in scratch pad . It also seems more convenient and less time consuming. It would make me very happy if it were possible , Thank you very much for taking the time to read this !! :)



Streetwalrus

It's possible with ndless, I wouldn't do it myself though as I'm not really interested in hacking around with the OS (I don't even use my nspire except for one project anyway). Other devs like @Vogtinator should know more than me about this.


Vogtinator

Yes, it is definitely possible with ndless. For usb HIDn four syscalls were integrated into the SDK, get_event, send_key_event, send_click_event and send_pad_event.
If you hook the keyboard scan routine and send a pad_event, it should work fine. It's fairly tricky to get hooks working correctly, so it's definitely something you need some nspire-related programming experience for.

mrhoola

Alright. Thanks.   Does sound quite intricate. 

mrhoola


Powered by EzPortal