Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: abraker95 on June 22, 2011, 10:32:40 pm

Title: Ndless keypad problem
Post by: abraker95 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.
Title: Re: Ndless keypad problem
Post by: pianoman on June 22, 2011, 10:49:27 pm
Hi, welcome to the forums!
Is your calculator CAS or non-CAS?
Title: Re: Ndless keypad problem
Post by: fb39ca4 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?
Title: Re: Ndless keypad problem
Post by: JosJuice on June 23, 2011, 04:36:35 am
Are the Ndless programs that you're trying to run compatible with the touchpad?
Title: Re: Ndless keypad problem
Post by: abraker95 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!
Title: Re: Ndless keypad problem
Post by: JosJuice 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?
Title: Re: Ndless keypad problem
Post by: abraker95 on June 23, 2011, 04:50:57 pm
 calc84maniac's normal version
Title: Re: Ndless keypad problem
Post by: fb39ca4 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.
Title: Re: Ndless keypad problem
Post by: DJ Omnimaga 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.
Title: Re: Ndless keypad problem
Post by: Munchor 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 (http://davidgom.co.cc/Personal/).

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.
Title: Re: Ndless keypad problem
Post by: JosJuice on June 24, 2011, 09:16:32 am
Here is the post where Mrakoplaz released it: http://ourl.ca/3840/166688 (http://ourl.ca/3840/166688)
Title: Re: Ndless keypad problem
Post by: Munchor on June 24, 2011, 09:24:55 am
Here is the post where Mrakoplaz released it: http://ourl.ca/3840/166688 (http://ourl.ca/3840/166688)

Thanks, already removed it :)
Title: Re: Ndless keypad problem
Post by: abraker95 on June 26, 2011, 12:02:46 pm
Isn't it strange how Ndless supports every key besides the ones on the touchpad???
Title: Re: Ndless keypad problem
Post by: ExtendeD 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.
Title: Re: Ndless keypad problem
Post by: willrandship 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.
Title: Re: Ndless keypad problem
Post by: JosJuice on June 28, 2011, 03:08:17 am
As far as I know, the problem isn't that we can't detect what keypad is being used... The problem is that programs created before the touchpad was released can't use the touchpad.