Author Topic: Ndless 2.0 for TI-Nspire Clickpad/Touchpad  (Read 179259 times)

0 Members and 1 Guest are viewing this topic.

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #135 on: December 25, 2010, 08:07:39 pm »
Nice work, critor - I knew it would be a matter of time before somebody
would make a better image than what I posted on  UTI.  I knew what I had was temporary anyway.
How did you edit the original image ? The usual graphics tools ?

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #136 on: December 25, 2010, 08:12:19 pm »
Nice work, critor - I knew it would be a matter of time before somebody
would make a better image than what I posted on  UTI.  I knew what I had was temporary anyway.

Thanks. But your image was mostly right: thank you for your work.
Too bad the arrow "keys" can't work at all...

How did you edit the original image ? The usual graphics tools ?

Yes. Edited with "The GIMP".
TI-Planet co-admin.

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 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #137 on: December 26, 2010, 03:16:30 am »
Nice image Critor! Also welcome back to Silver Shadow!

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #138 on: December 26, 2010, 10:54:04 am »
Thanks shrear, I didn't think about trying to launch any programs after that, and sure enough, they worked! :)
Former Coder of Tomorrow


Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #139 on: December 26, 2010, 10:57:54 am »
Believe me, I also needed a lot of time to get behind that...

And actually it's written one the first page...
« Last Edit: December 26, 2010, 11:01:59 am by shrear »

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #140 on: December 26, 2010, 11:51:01 am »
I saw that, but I thought that it meant that instead of installing, it displayed this error message, but it actually meant that it installed correctly but instead of displaying the "installed" message, it errored.
Former Coder of Tomorrow


Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #141 on: December 26, 2010, 01:09:02 pm »
Try this work around in an Ndless program:
Ctrl-8   UP
Ctrl-4   LEFT
Ctrl-6  RIGHT
Ctrl-2  DOWN

I chose these keys because it should be easy to remember and use.

EDIT: Ctrl-5  Click
« Last Edit: December 26, 2010, 02:07:19 pm by bsl »

Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #142 on: December 26, 2010, 01:44:49 pm »
Try this work around in an Ndless program:
Ctrl-8   UP
Ctrl-4   LEFT
Ctrl-6  RIGHT
Ctrl-2  DOWN

I chose these keys because it should be easy to remember and use.

I confirm, mapping the keys to the numbers works fine.
;)

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #143 on: December 26, 2010, 05:12:01 pm »
Is this ready to be used or is it still being tested?
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

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 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #144 on: December 26, 2010, 05:19:29 pm »
Still being tested right now. They make sure it's bug-free or stable enough before release, otherwise the forums would get flooded with "My calc is broken I will kill you" messages. :P

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #145 on: December 26, 2010, 09:34:55 pm »
Still being tested right now. They make sure it's bug-free or stable enough before release, otherwise the forums would get flooded with "My calc is broken I will kill you" messages. :P

lol I wouldn't post that gives them warning
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #146 on: December 27, 2010, 07:28:47 am »
So to sum up the previous posts:
1) The dynamic remap available on the HEAD of the SVN repository works for nobody, right?. Strangely it works for me on nspire_emu.
2) The Touchpad arrows won't work as long as we don't find how to interact with the hardware. Could anyone try Goplat's keypad swap suggestion?
3) The best workaround would be to map the arrows to 1-9. But this depend on 1).

However, after I exit the particle demo, the left ~10 pixels are shifted to the right of the screen for some reason.

Yes, the "shifted screen" is listed in the first post. I have no idea of the cause at the moment.

As a suggestion to staff, links to OS 2.0.1 should probably be added to the first post, in case some people miss the other topic outside the Ndless sub-forum.

Sure, good idea.

It remains 5 days before Ndless birthday, isn't it ? :D

You have a good memory :) It was not really Ndless at this time, but a picture of the first lines of code run on real hardware.

EDIT: I tried compiling myself on Ubuntu, but I'm getting
Quote
utils_light_thumb_os-1.7.o: In function `ut_calc_reboot':
utils.c:(.text+0xcc): undefined reference to `__builtin_unreachable'

Make sure you are using GCC v4.5.1.

Actually, the arrow and click keys cannot be checked the same way as the other keys on the touchpad. That mapping is actually for some sort of touchpad prototype which is supported by the OS (which is what nspire_emu uses, and thus where this faulty key mapping comes from). I personally have no idea how to check the touchpad, but Goplat mentioned some OS routines that can be used.

Could you point me to the post? I don't remember it.
« Last Edit: December 27, 2010, 07:43:07 am by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #147 on: December 27, 2010, 07:39:24 am »
Could anyone try Goplat's http://ourl.ca/8160/156737]keypad swap suggestion?
can it be that you placed the "[/url" at the wrong place?
« Last Edit: December 27, 2010, 07:43:02 am by shrear »

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #148 on: December 27, 2010, 08:35:47 am »
Could anyone try Goplat's keypad swap suggestion?
(link corrected)

I've tried to boot with a ClickPad keypad, and then swapping the keypads while a Ndless program is running.
The TouchPad arrows didn't work.
« Last Edit: December 27, 2010, 08:36:53 am by critor »
TI-Planet co-admin.

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #149 on: December 27, 2010, 02:03:09 pm »
So to sum up the previous posts:
1) The dynamic remap available on the HEAD of the SVN repository works for nobody, right?. Strangely it works for me on nspire_emu.

nspire_emu is wrong:
Quote
  /Kn           - set keypad type (2 = TI-84 Plus, 3 = Touchpad)
Keypad type 3 was a touchpad prototype or something, which apparently set appropriate directional key bits in 900E0010-900E002F when the touchpad was pressed down. Keypad type 4 is the touchpad that was actually sold. It never sets directional key bits. Instead, you have to use the I²C (which is not emulated yet) to get the touch position and whether it's pressed down or not.

This screen from DIAGS 2.00.1183 says it all:
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo