Omnimaga
Calculator Community => Major Community Projects => The Axe Parser Project => Topic started by: Hooloovoo on April 13, 2013, 11:24:50 pm
-
I made a USB keyboard Axiom, which lets you send arbitrary keypresses to your computer from Axe. It works because the Smartview emulator needs to get calculator keypresses to the computer. It turns out that it is just making weird key combinations, and the emulator is interpreting them. BrandonW made a smview, a program that replaces the Smartview app, and I realized that it is just sending USB HID keypresses. I threw that into an axiom, and here it is. There is also also a rather thrown-together demo, which allows you to control Wabbitemu directly from the calculator.
-
Hey, that's pretty sweet! :)
-
so you connect the keyboard to the calc then and you can handle 'em with axe? nice :D
-
Typing this out with the calculator. Wheeeee.
:P
This should make screenshotting a ton easier, especially for those games that use controls based on where keys are on the keypad./me glares at that one guy who made the weird platformer-shooter thing with controls around the XTOn key
Also worth noting is On+Clear quits. Has a tendency of sending F12 to the computer tho.
Edit: any chance of tilem controls?
Edit2: wabbit may be behaving differently in wine, but for me it works a lot better if the skin's turned off.
-
Wow that is great! I am curious about if it could support WabbitEmu and TilEm like Calc2Key does? Unfortunately Calc2Key requires TiLP to installed to work so that can leave some people out. At least your program looks like only an USB cable is required. :)
EDIT: Nevermind, Darl tells me that it actually works with Wabbit.
-
dj, if it lets you send arbitrary keypresses, then all you have to do is write a small program that detects a certain button being pressed on the calc and sends the related keybinding for the emulator, right?
/me goes to try it out.
this sounds absolutely fantastic, by the way =DD
EDIT: you should really use a loop and a couple of lists in that example program instead of writing
getKey(blah)??bloo->{A++}{
over and over :P
-
Basically what shmibs said. It kind of acts like normal computer keyboard, but keys mapped to match with wabbitemu.
So someone with this could go to a library or something, plug it into a random computer, and it should type like a normal keyboard :D
-
Looks pretty interesting indeed :)
Spread out the word at TI-Planet, http://tiplanet.org/forum/viewtopic.php?t=11570
Are the keypresses recognized by computer-side SmartView the ones defined in the USB HID standard (meaning that the SmartView app, smview and your axiom make it possible to control the computer outside SmartView without additional software), or a different set (assuming it's possible to send thoroughly custom keypresses, I don't remember and I don't have time to check the USB HID standard again right now) ?
BrandonW's Linky for the 89T, in which I filled up the internal calc keyboard -> US language USB HID keyboard mapping code, produces standard USB HID keypresses, and I've actually used the 89T running Linky in the real world to deal with an embedded ARM board, at work, before we bought USB mini-A male <-> A female cables.
-
Would it be possible to have a port of this for the TI-84 Plus C Silver Edition ? ;)
A SmartPad App for this calculator doesn't seem to be planned by TI.
http://education.ti.com/en/us/products/calculators/graphing-calculators/ti-84-plus-c-silver-edition/tabs/overview#tab=applications
-
I don't have an 84PCSE, so I can't say for sure.
Everyone asking for other emulator support: If you want, you can modify the Axe source so it makes the keypresses for other emulators or other things.
Linonel: yes, they are defined by the HID standard, and they are standard USB keyboard keypresses.
shmibs: yeah, I probably should do that, but I actually wrote that program with python and sourcecoder.
-
I don't know how to use this Axiom to use my calc, but this would be great for TASing
-
Yepp, that seems to be the general consensus. :D
-
Critor: just found this:
http://education.ti.com/en/us/products/computer_software/ti-smartview-software/ti-smartview-emulator-software-for-the-ti-84-plus-family/features/features-summary (http://education.ti.com/en/us/products/computer_software/ti-smartview-software/ti-smartview-emulator-software-for-the-ti-84-plus-family/features/features-summary)
Easy operation with the educator's computer or calculator as a remote keypad
They must be using an app, because only TI would only ever put a 500B program into a 16K app.
-
works well only problem i see is it doesn't like to send more then 1 key press at a time. maybe 2 on occasion.
(http://img.removedfromgame.com/imgs/usbpad8x.gif)
you can see it here
-
It really works great. :D I'm typing this line with my calc. :P
Now I need to make an azerty keyboard prog so that I can use my comp when my mom takes my keyboard away. <_<
Does anyone happen to know a getkey-like program for the computer ?
-
works well only problem i see is it doesn't like to send more then 1 key press at a time. maybe 2 on occasion.
(http://img.removedfromgame.com/imgs/usbpad8x.gif)
you can see it here
Yeah, I don't think that the built-in protocol does multiple keypresses, except when a modifier, such as ctrl, shift, and alt, are pressed. I am going to try rewriting the program using direct port access, using Linky as an example.
-
Are you using the same protocol as a USB keyboard uses to communicate with a computer? Because that should be able to handle multiple key presses. It often happens that you need to press 3 or more keys at the same time when you are playing games, and a USB keyboard can handle that.
But anyway, it looks cool. I'm deffinately going to download this when I find my USB cable.
-
Are you using the same protocol as a USB keyboard uses to communicate with a computer?
Yup, that's what he wrote above, and confirmed after I asked for more details :)
-
It would be even more interesting if you could also send data the other way, for example to stream an image to the calc. Then we could use a computer for doing complex calculations for the calc, which makes stuff like 3D and multiplayer games a lot easier (okay, maybe that's cheating, but it's still cool), or for streaming the screen image from wabbitemu, so you can see how the program you emulate looks on a real screen (since a real screen can react slightly differently than the emulated one.
-
Somebody modify the code to allow more than one keypress and have a utility on the computer to tell you what corresponding key you are pressing.. I would also like to be able to configure it hehe
I played VBA on my computer using a TI84+ I felt so proud xD
-
what can you type? only numbers?
-
You can type anything you want, you can change the axe source code and compile it to be whatever you want it to be.
-
I tried sending it to my TI-84+ Silver Edition and TI-Connect said that the program was made for a newer OS version. I have 2.55, which I think is the latest.
-
I certainly hope that he didn't make the program OS 2.71MP-only... O.O
That OS is actually fake to a certain extent and horribly buggy. It does exist, but it was made by the community as an april fools joke.
Otherwise it might be just TI-Connect acting up because OS 2.55MP is definitively the latest official OS available for the 84+SE and 4.2 for the 84+CSE.
-
When I try to send it using TiLP, it freezes up.
-
Bump!~
Made a non axiom program version of this for the CSE.
https://dl.dropboxusercontent.com/u/98196116/MakerFaire2015/Maker%20Faire%20Keyboard%20Calc.zip
Enjoy!
-
Sounds awesome!
Any chance for a demo video? (maybe after/during the fair? :P)
-
Probably during the faire someone will use it to show off the display
-
I don't send your axiom on my calculator.
I have a TI 84+ and TI Connect CE say this file is build for other version :-\
-
If you have a regular TI-84+ (not CSE) try the file in the 1st post on page 1. Otherwise try Geekboy's.
-
That is the file in the 1st post on page 1 that it isn't possible to send to my calc (TI 84+ SE) :(
TI Connect CE says me "Not for you" with the version in the 1rst post :-[
Edit (Eeems): Merged double post