- CalcToKey - Control your PC with your TI-83+/84+
- 08 Dec 2011 03:34:20 am
- Last edited by Kaslai on 09 Feb 2013 05:37:37 pm; edited 3 times in total
It's been over a year, but I finally got around to making this work somewhat well. It can be downloaded from the archives.
Original Post Text wrote:
On this previous HCWP, I was told to play CaDan. I didn't feel like copying it to my calculator, so I threw it in to Wabbit. After I realized how dependent the controls were on the calculator design, I lamented that I couldn't control Wabbit with my calculator. When I was told that nobody had done it yet, I decided to try my hand at it.
I pulled my code out of my IRC client that dealt with the calculator and rewrote it slightly, and mapped all the keys to keyboard keys. However, since the client program used _GetCSC to detect keystrokes, it wasn't very great as you may be able to tell. So I reluctantly went and hacked away at the ASM, trying to read the keys directly and keeping track of them on-calc, and keeping track so that I only sent key up and key down events. After hours of hanging out in /havecalc with BrandonW, I succeeded!
So now the program works. I should be putting this program on the archives pretty soon, after I make it more user friendly. (There are two ways to quit the client running on-calc: sending an lquit() packet from the computer, or pulling the batteries.) I also should really make it attempt to reconnect if there's a drop in communication, rather than segfaulting =p
Anyways, expect this nifty little tool pretty soon
I pulled my code out of my IRC client that dealt with the calculator and rewrote it slightly, and mapped all the keys to keyboard keys. However, since the client program used _GetCSC to detect keystrokes, it wasn't very great as you may be able to tell. So I reluctantly went and hacked away at the ASM, trying to read the keys directly and keeping track of them on-calc, and keeping track so that I only sent key up and key down events. After hours of hanging out in /havecalc with BrandonW, I succeeded!
So now the program works. I should be putting this program on the archives pretty soon, after I make it more user friendly. (There are two ways to quit the client running on-calc: sending an lquit() packet from the computer, or pulling the batteries.) I also should really make it attempt to reconnect if there's a drop in communication, rather than segfaulting =p
Anyways, expect this nifty little tool pretty soon