Author Topic: USBpad8x: USB keyboard axiom  (Read 22275 times)

0 Members and 2 Guests are viewing this topic.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
USBpad8x: USB keyboard axiom
« 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.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #1 on: April 14, 2013, 12:11:48 am »
Hey, that's pretty sweet! :)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: USBpad8x: USB keyboard axiom
« Reply #2 on: April 14, 2013, 12:12:42 am »
so you connect the keyboard to the calc then and you can handle 'em with axe? nice :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: USBpad8x: USB keyboard axiom
« Reply #3 on: April 14, 2013, 01:46:27 am »
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.
* Darl181 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.
« Last Edit: April 14, 2013, 03:06:59 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: USBpad8x: USB keyboard axiom
« Reply #4 on: April 14, 2013, 02:55:15 am »
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.
« Last Edit: April 14, 2013, 02:59:29 am by DJ Omnimaga »

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: USBpad8x: USB keyboard axiom
« Reply #5 on: April 14, 2013, 03:05:29 am »
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?
* shmibs 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
Code: [Select]
getKey(blah)??bloo->{A++}{over and over :P
« Last Edit: April 14, 2013, 03:23:27 am by shmibs »

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: USBpad8x: USB keyboard axiom
« Reply #6 on: April 14, 2013, 03:11:10 am »
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
Vy'o'us pleorsdti thl'e gjaemue

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: USBpad8x: USB keyboard axiom
« Reply #7 on: April 14, 2013, 03:11:31 am »
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.
« Last Edit: April 14, 2013, 03:12:08 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: USBpad8x: USB keyboard axiom
« Reply #8 on: April 14, 2013, 03:28:04 am »
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
« Last Edit: April 14, 2013, 03:28:16 am by critor »
TI-Planet co-admin.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #9 on: April 14, 2013, 10:13:31 am »
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.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #10 on: April 14, 2013, 02:32:35 pm »
I don't know how to use this Axiom to use my calc, but this would be great for TASing
Keep trying.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #11 on: April 14, 2013, 03:35:52 pm »
Yepp, that seems to be the general consensus. :D

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #12 on: April 14, 2013, 11:14:00 pm »
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
Quote
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.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #13 on: April 15, 2013, 01:00:29 am »
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.



you can see it here

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: USBpad8x: USB keyboard axiom
« Reply #14 on: April 15, 2013, 04:30:10 am »
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 ?
« Last Edit: April 15, 2013, 04:32:55 am by Streetwalker »