Author Topic: Ndless keypad problem  (Read 6913 times)

0 Members and 1 Guest are viewing this topic.

Offline abraker95

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Ndless keypad problem
« on: June 22, 2011, 10:32:40 pm »
I didn't really know where to put this post, but when I try to run any program on the TI-nspire touchpad, the buttons on the touchpad don't work, while the actual touch panel works. The OS is 2.0.1 with Ndless 2.0 installed. Any help is appreciated.

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: Ndless keypad problem
« Reply #1 on: June 22, 2011, 10:49:27 pm »
Hi, welcome to the forums!
Is your calculator CAS or non-CAS?

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Ndless keypad problem
« Reply #2 on: June 23, 2011, 12:25:19 am »
So you can use the arrow keys but not anything else? And does the keypad work fine in the os?

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Ndless keypad problem
« Reply #3 on: June 23, 2011, 04:36:35 am »
Are the Ndless programs that you're trying to run compatible with the touchpad?

Offline abraker95

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: Ndless keypad problem
« Reply #4 on: June 23, 2011, 10:58:29 am »
It is a non-CAS calculator. Keypads work fine in the OS. Is the latest version of the Gameboy emulator compatible with the software(s) I have?

Just as a note, all Ndless programs are like this not just the emulator!

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Ndless keypad problem
« Reply #5 on: June 23, 2011, 04:49:58 pm »
Is the latest version of the Gameboy emulator compatible with the software(s) I have?
Well, that depends on what you mean by the latest version. Are you using calc84maniac's normal version, or Mrakoplaz's patched version?

Offline abraker95

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: Ndless keypad problem
« Reply #6 on: June 23, 2011, 04:50:57 pm »
 calc84maniac's normal version

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Ndless keypad problem
« Reply #7 on: June 23, 2011, 10:00:29 pm »
Ah, you have to use the patched version, the original does not support the touchpad. Though I dont get how you are having the same problem with all ndless programs, unless you are using all incompatible versions.

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: Ndless keypad problem
« Reply #8 on: June 23, 2011, 10:02:42 pm »
Heya and welcome on the forums abraker95. :)

Unfortunately you need to use Mraklopaz version, although I think it doesn't let you select your game ROM from the list, if I remember.

I'm also moving the topic in the help section.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Ndless keypad problem
« Reply #9 on: June 24, 2011, 07:39:24 am »
You need to use the new version, but I can't find it anywhere. Seriously, I could never find it.

I have it though, you can find it here.

It was made by Mrakoplaz, so please someone tell me where it is so I can remove it from my website, I don't think it's ok.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Ndless keypad problem
« Reply #10 on: June 24, 2011, 09:16:32 am »
Here is the post where Mrakoplaz released it: http://ourl.ca/3840/166688

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Ndless keypad problem
« Reply #11 on: June 24, 2011, 09:24:55 am »
Here is the post where Mrakoplaz released it: http://ourl.ca/3840/166688

Thanks, already removed it :)

Offline abraker95

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: Ndless keypad problem
« Reply #12 on: June 26, 2011, 12:02:46 pm »
Isn't it strange how Ndless supports every key besides the ones on the touchpad???

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless keypad problem
« Reply #13 on: June 27, 2011, 04:25:59 pm »
The Touchpad is controlled by dedicated i/o ports.
The keyboard routines are linked as static library to the programs, that's why they need to be recompiled to interact with the Touchpad hardware.
Ndless.me with the finest TI-Nspire programs

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Ndless keypad problem
« Reply #14 on: June 27, 2011, 04:49:46 pm »
Seems like you could write a small piece in your prog that, when it runs, asks you to press enter. Since enter is different on all 3 of the pads, you can determine from there, and have a variable (read: not using DEFINE) and some functions for common keys in libs, like isKeyPressed(up(padvar)). That way, no recompiling would be necessary. The Function would look something like this:

up(padvar)
{
if padvar = 0
{
return KEY_NSPIRE_UP
}

if padvar = 1
{
return KEY_TOUCH_UP
}

if padvar = 0
{
return KEY_84_UP
}

The find function would have a simple input dialog, compare the recieved number to the 3 possibilities, and either return an error and retry or store the result in padvar and progress.