maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   AlmostTI 1.3 Released - Now with the menu (https://talk.maemo.org/showthread.php?t=28098)

fms 2009-04-11 09:55

Re: AlmostTI 1.3 Released - Now with the menu
 
Quote:

Originally Posted by st5150 (Post 278987)
On a somewhat related topic, fms, do you have any plans/time/motivation/desire for some work on getting a HP48 emulator on Maemo?

Not really. All of my Maemo-related projects are at this moment non-profit and done in whatever meager time I have left after doing real, paid work. Any additional tasks added to my plate have to be well justified.

Capt'n Corrupt 2009-04-23 11:13

Re: AlmostTI 1.3 Released - Now with the menu
 
1 Attachment(s)
First off, thank you for this wonderful program! Honestly, ATI85 is like a gift from the heavens! It has a great interface, and great functionality. I love the start up and shut down speed of this app, and the state saving. All apps should be like this!

I have a suggestion:
It would be nice if the buttons on the face of the calculator were larger than the their graphical representation. This would make it far easier to hit the buttons with a finger or stylus without taking away any functionality, or changing the interface in any way.

The reason for my suggestion, is that I can use the calc with the finger quickly right now, but must peck slowly as to ensure that I actually pressed the key. Often time, I hear a click denoting that I pressed the screen, but no key was registered. I have found that in those instances my registered click was somewhere between the keys.

I have attached an image to illustrate what I mean about larger buttons. The red-shaded key is what I assume the skin is like now; the clickable area is closely matched to the graphical key. The green-shaded keys, on the other hand, have larger clickable areas than the graphical buttons, and as such are easier to press.

Is this something that I can help with? This would mark my first contribution to open source, and I'd gladly do it.


YARR!
}:^)~
AlmostCapt'n

fms 2009-04-23 11:29

Re: AlmostTI 1.3 Released - Now with the menu
 
Quote:

Originally Posted by Capt'n Corrupt (Post 281584)
It would be nice if the buttons on the face of the calculator were larger than the their graphical representation. This would make it far easier to hit the buttons with a finger or stylus without taking away any functionality, or changing the interface in any way.

This is possible but comes with two side effects:

1. It will require me to spend at least an hour or two tediously changing all the rectangles.
2. The resulting layout will generate lots of erroneous clicks, as sensitive rectangles are basically touching each other.

Hence, I am not sure if I would like to do this.

Capt'n Corrupt 2009-04-24 19:58

Re: AlmostTI 1.3 Released - Now with the menu
 
Thanks for the response!

I can see why you may think it will decrease accuracy, however, even if the buttons get larger, the way the user aims his finger should stay the same. This will increase usability and allow more users to use you're excellent calculator without needing to reach for a stylus!

If it would make it easier, I can prepare all of the rectangle coordinates. I would only need the number of units width and height of the skin (lets try ATI86) and I'll do the rest!


YARR!
}:^)~
Forapt'n

jmjanzen 2009-04-24 20:31

Re: AlmostTI 1.3 Released - Now with the menu
 
i am in total agreement with the capt'n on this one. i don't think it would generate erroneous clicks, because no one is going to aim for the areas in between keys. it's just there as a crutch. and if my aim is so bad that i try to press a 7 and i hit a black area closer to the 8 than the 7, it's my fault. i'd rather see 8 pop up on the screen than nothing at all. i like the feedback. it's like the calculator is telling me, "hey, buddy, you really need to work on your aim."

fms 2009-04-26 04:41

Re: AlmostTI 1.3 Released - Now with the menu
 
1 Attachment(s)
Quote:

Originally Posted by Capt'n Corrupt (Post 281865)
I can see why you may think it will decrease accuracy, however, even if the buttons get larger, the way the user aims his finger should stay the same. This will increase usability and allow more users to use you're excellent calculator without needing to reach for a stylus!

Well, I do believe that erroneous clicks will decrease usability rather than increase it, as users have to correct mistakes instead of just clicking the same button for the second time, with better aim. But let us try your approach, just to see how it works.

Quote:

If it would make it easier, I can prepare all of the rectangle coordinates. I would only need the number of units width and height of the skin (lets try ATI86) and I'll do the rest!
Ok. Here is the current rectangle data:
Code:

/** TouchMap[] ***********************************************/
/** This map translates on-screen rectangles into keys.    **/
/*************************************************************/
struct
{
  byte KeyCode;
  int X,Y,W,H;
} TouchMap[] =
{
  { KBD_RIGHT,  380,45,43,28 },
  { KBD_LEFT,  380,163,43,28 },
  { KBD_UP,    352,89,25,58 },
  { KBD_DOWN,  427,89,25,58 },

  { KBD_F5,    291,43,25,65 },
  { KBD_F4,    291,125,25,65 },
  { KBD_F3,    291,207,25,65 },
  { KBD_F2,    291,289,25,65 },
  { KBD_F1,    291,371,25,65 },

  { KBD_CLEAR,  467,40,30,67 },
  { KBD_POWER,  511,40,30,67 },
  { KBD_DIV,555,40,30,67 },
  { KBD_MUL,    599,40,30,67 },
  { KBD_MINUS,  643,40,30,67 },
  { KBD_PLUS,  687,40,30,67 },
  { KBD_ENTER,  731,40,38,67 },

  { KBD_CUSTOM, 467,123,30,67 },
  { KBD_TAN,    511,123,30,67 },
  { KBD_RPARENT,555,123,30,67 },
  { KBD_9,      599,123,30,67 },
  { KBD_6,      643,123,30,67 },
  { KBD_3,      687,123,30,67 },
  { KBD_SIGN,  731,123,30,67 },
 
  { KBD_MORE,  379,206,30,67 },
  { KBD_DEL,    423,206,30,67 },
  { KBD_PRGM,  467,206,30,67 },
  { KBD_COS,    511,206,30,67 },
  { KBD_LPARENT,555,206,30,67 },
  { KBD_8,      599,206,30,67 },
  { KBD_5,      643,206,30,67 },
  { KBD_2,      687,206,30,67 },
  { KBD_DOT,    731,206,30,67 },

  { KBD_EXIT,  379,289,30,67 },
  { KBD_XVAR,  423,289,30,67 },
  { KBD_STAT,  467,289,30,67 },
  { KBD_SIN,    511,289,30,67 },
  { KBD_EE,    555,289,30,67 },
  { KBD_7,      599,289,30,67 },
  { KBD_4,      643,289,30,67 },
  { KBD_1,      687,289,30,67 },
  { KBD_0,      731,289,30,67 },

  { KBD_2ND,    379,372,30,67 },
  { KBD_ALPHA,  423,372,30,67 },
  { KBD_GRAPH,  467,372,30,67 },
  { KBD_LOG,    511,372,30,67 },
  { KBD_LN,    555,372,30,67 },
  { KBD_SQR,    599,372,30,67 },
  { KBD_COMMA,  643,372,30,67 },
  { KBD_STO,    687,372,30,67 },
  { KBD_ON,    731,372,30,67 },

  { 0,0,0,0,0 }
};

Change it the way you see fit. Also attaching the calculator image to this post.

Capt'n Corrupt 2009-04-26 11:20

Re: AlmostTI 1.3 Released - Now with the menu
 
Great! Thank you for the opportunity to help with this. I will post the updated array shortly!


YARR!
}:^)~
capt'n(corrupt)

Capt'n Corrupt 2009-04-26 13:04

Re: AlmostTI 1.3 Released - Now with the menu
 
Here it is!

The picture had to be scaled to 800x480 in order for it to be consistent with the previous coordinates. After upscaling, I carefully considered the positions of the rectangles and created a new set of rectangles as per our discussion. They should increase usability for finger users!

Thank you for giving me the opportunity to contribute.

Let me know if there are any problems with the file!


Code:

/** TouchMap[] ***********************************************/
/** This map translates on-screen rectangles into keys.    **/
/*************************************************************/
struct
{
  byte KeyCode;
  int X,Y,W,H;
} TouchMap[] =
{

  { KBD_RIGHT,  380,35, 41,53 },
  { KBD_LEFT,  380,146,41,53 },
  { KBD_UP,    340,88, 40,58 },
  { KBD_DOWN,  416,88, 40,58 },

  { KBD_F5,    270,0,  64,117 },
  { KBD_F4,    270,117,64,82  },
  { KBD_F3,    270,199,64,82  },
  { KBD_F2,    270,281,64,82  },
  { KBD_F1,    270,363,64,117 },

  { KBD_CLEAR,  461,0,44,117 },
  { KBD_POWER,  505,0,43,117 },
  { KBD_DIV,    548,0,45,117 },
  { KBD_MUL,    593,0,44,117 },
  { KBD_MINUS,  637,0,43,117 },
  { KBD_PLUS,  680,0,45,117 },
  { KBD_ENTER,  725,0,60,117 },

  { KBD_CUSTOM, 461,117,44,82 },
  { KBD_TAN,    505,117,43,82 },
  { KBD_RPARENT,548,117,45,82 },
  { KBD_9,      593,117,44,82 },
  { KBD_6,      637,117,43,82 },
  { KBD_3,      680,117,45,82 },
  { KBD_SIGN,  725,117,60,82 },

  { KBD_MORE,  371,199,45,82 },
  { KBD_DEL,    416,199,45,82 },
  { KBD_PRGM,  461,199,44,82 },
  { KBD_COS,    505,199,43,82 },
  { KBD_LPARENT,548,199,45,82 },
  { KBD_8,      593,199,44,82 },
  { KBD_5,      637,199,43,82 },
  { KBD_2,      680,199,45,82 },
  { KBD_DOT,    725,199,60,82 },

  { KBD_EXIT,  371,281,45,82 },
  { KBD_XVAR,  416,281,45,82 },
  { KBD_STAT,  461,281,44,82 },
  { KBD_SIN,    505,281,43,82 },
  { KBD_EE,    548,281,45,82 },
  { KBD_7,      593,281,44,82 },
  { KBD_4,      637,281,43,82 },
  { KBD_1,      680,281,45,82 },
  { KBD_0,      725,281,60,82 },

  { KBD_2ND,    371,363,45,117 },
  { KBD_ALPHA,  416,363,45,117 },
  { KBD_GRAPH,  461,363,44,117 },
  { KBD_LOG,    505,363,43,117 },
  { KBD_LN,    548,363,45,117 },
  { KBD_SQR,    593,363,44,117 },
  { KBD_COMMA,  637,363,43,117 },
  { KBD_STO,    680,363,45,117 },
  { KBD_ON,    725,363,60,117 },

  { 0,0,0,0,0 }
};



YARR!
}:^)~
Captn { CORRUPT }

Cadabena 2009-05-07 22:28

Re: AlmostTI 1.3 Released - Now with the menu
 
Love this app, so useful in sixth form. Though I think it seems a waste that the hardware buttons aren't really being used. The d-pad and middle button should certainly be the Ti's d-pad and enter button. And I think the minus button should be 2nd, and + be Alpha. And the menu button, possibly Exit? And I guess the N810's keyboard could be the letters for the calculator.

That'll be my little request :)
Thanks!

Thesandlord 2009-05-07 23:44

Re: AlmostTI 1.3 Released - Now with the menu
 
If this supported the N810 keyboard, it would kick some serious a55. Also, there TI-83+ skin has some problems. On the X^-1 button, the yellow text should NOT be finance, but matrix.

Also, why so many calculators? If there was just TI-84+ Silver, it would cover all the functionality of the rest... Maybe TI-86 and TI-84 (old gen and new gen).


All times are GMT. The time now is 08:53.

vBulletin® Version 3.8.8