sspanak / tt9

A T9 keyboard for Android devices with a hardware keypad.
Apache License 2.0
239 stars 39 forks source link

Keyboard mode key - nitpicking issues #622

Closed maverick74 closed 3 weeks ago

maverick74 commented 1 month ago

Ok... i don't exactly know what to call this issue, but here's a case i believe explains my point:

1- in the middle of a message (using t9 mode in any language) i have to type an extensive number. 2- i switch to the numbers keypad and type the number, 3- now to get back to t9 assisted mode i actually have to type 3 times on the keyboard key... (i won't count the times i mistakenly type 4 times and have to get all 3 taps again...)

So, actually, what i mean is that i think there's too much options on the same key.

now, I have no idea where to put the various functions, but it's sometimes annoying... so i'm throwing you the hot potato (ahah)

Regarding the same key - but talking about the CAPS function - there is also another small (personal) detail i use to think about:

Those used to a PC keyboard (i believe gboard functions the same way), use caps in the inverted order!

Let me explain:

on a pc if you intend to type in CAPS you

on tt9 however you:

so... mentally it's inverted.

yeah... these are all nitpicking issues and you can safely close this (i'm really ok with it!!!). There are all these other more important issues to look at... I was just sharing some thoughts about my experience :)

sspanak commented 1 month ago

This can be solved by having two separate buttons, one for changing the text case, call it SHIFT or CAPS (I like SHIFT better); one for changing the input mode: ABC -> 123 -> Predictive. There are a couple of things to consider though.

In Predictive mode, when the Automatic Captial Letters setting is on, you don't have much control over the text case. TT9 adjusts it before every word to ensure capitalized proper names, capitalized words at the beginning of sentences and whatnot. It will only preserve uppercase, if you have selected in advance. This means, when the mentioned setting is on, the potential SHIFT key will be useful only after typing a word. And this is the whole idea of Predictive mode - you just type without thinking too much and only occasionally adjust incorrect words. This does not mean I am against having a separate SHIFT key. I agree it makes sense to have it, I just want to point out it may not work as you expect.

My second concern is for when you use TT9 in invisible mode. There will be no indication you have changed anything. Perhaps, pressing SHIFT should trigger a toast message, just like changing the language does.

My third concern is there are too many functions and too few keys. You have already noticed that. I suppose I can rearrange everything like this:

On hardware keys:

These are the defaults, of course. You will still be able to reassign all functions to all keys from the Settings, like before.

On a touchscreen:

It is the best I can think of. I am not sure if rearranging the functions makes good sense, especially in the case of button phones. I would like to hear some more opinions or at least get a couple of thumbs up before proceding with the changes.

maverick74 commented 1 month ago

Ok.... about this... (i have not yet re-read your post with the complete attention it deserves - sorry! i've read it but i'll have to do it again with more time)

first a small disclaimer: 1 - I'll use touchpal as an example because it worked nice in this! it's not that i intend to transform tt9 into touchpal - not even close - It's just trying to use what i think may be a good idea. 2 - What's good for me may not be good for everyone. In fact you may not even agree with it or it may not even be possible to do. No hard feelings from me if it's rejected 3 - It's just an idea (and not even a "well thought about" idea, as i did it in a rush...). Maybe it leads to other even better ideas from you... So please, again, don't shoot me ahahahah

here's the "thing":

idea

Basically:

(small notice: that Blue Globe icon and that Blue Microphone icon seem out of place... aren't there others that fit better?)

sspanak commented 1 month ago

Well, sure, do re-read my comment. Meanwhile, I would like to remind that we have to lay out the functions on this keyboard first:

hardware keypad

... and then think about the TT9's virtual keyboard.

Besides, I really don't want to make significant changes or introduce new functions anymore. Please, don't make me do that. It is complicated enough.

maverick74 commented 1 month ago

Now that i've read the post more calmly... (and seen this #$%&/ hardware keypad - again!)

You know what? Scrap my idea (and yours!) and just leave it as it is! :)

I though the hardware was kind of independent of the virtual and that the keys were just calling functions... (and so... beside believing it would be kind of easy to do, i didn't even think too much of the changes on the hardware version)!

I clearly have no clue how it's done ahahahah.

(and man, HTF do you fit all these functions into that 9 keys keypad?!?! There's some black magic here!!! There's now way you can fit all that functions into that small thing....... )

Leave it be!!! Close this and never think of it again!!! i can totally live with this "not-issues". :p

Also: sorry for making you loose time thinking about these things!

sspanak commented 1 month ago

But I do believe there is room for improvement. Over time, I have received other reports that changing the modes and the text case is a bit confusing. Heck, sometimes, I confuse myself with my own logic, especially when typing special characters.

Only splitting the current Typing Mode key into Input Mode and Shift is not such a big deal. It will actually reduce the complexity of presenting "abc" and "ABC" as two separate modes, when they are not. It is worth giving a try. I will experiment when preparing v39.0 and may release it if works out well.

maverick74 commented 1 month ago

In the hardware keyboard... can the d-pad ok/enter be used for any long press/hold function?

Or do we really have to stick to just that 9-keys keyboard?

sspanak commented 1 month ago

It can, but it is a bad idea in general, because many apps rely on the "press" and "hold" events to perform specific actions. OK or (ENTER on some devices) is not safe for customizing.

Also, due to other technical reasons, I will not move or customize the on-screen Settings key.

maverick74 commented 1 month ago

Also, due to other technical reasons, I will not move or customize the on-screen Settings key.

I already discarded that idea and was actually thinking - for myself - about "shift" key...

anyway, in the end, the question was more out of curiosity! I didn't intended to even suggest any other changes since you made it clear not to be open to such radical changes (which I really understand!)

maverick74 commented 1 month ago

Ok, I'm going to suggest another idea (I'm just trying to help! If it doesn't make sense I'll shut up and you don't even need to reply. No hard felling's!)

You have removed the tab key! (I don't know the reason but) why not use that for "shift" and keep the "add word" as a "hold-key" option, as it was?

No change in keyboard layout or anything like that! Just using shift function instead of tab... (you could still also use the globe key to access numpad, which I believe makes sense...)

sspanak commented 1 month ago

Well, it's almost the same as my idea. The difference is, I want to put SHIFT on the 3rd key, not on the 2nd one. :slightly_smiling_face:

As for math being a language, I haven't thought of that. Yes, you could say math is a language, or music is a language, or something else is a language - as a metaphor. But the T9 keyboards do not work this way. The first entity is the typing mode, then in the context of the selected mode, the keyboard either just prints the digits, or allows you to select a language to transform the digits into numbers. So, the languages are at a different level of the process.

I've seen keyboards that offer a separate key for switching between numeric and alphabetic mode, but I find this confusing. Also, I don't remember any of my old phones (Motorola, Samsung and Nokia) to have been working like that. They have all offered cycling the modes using a single key. I'd rather stay true to the originals.

As for the TAB key, I have removed it because I have used it exactly 0 times after adding it. The TAB function is a bit useless in Android. In many apps the controls and the inputs are not linked correctly, so you can't really walk them with TAB. According to Android philosophy, if the app makers have intended such functionality, it would be invoked with OK/ENTER. Again, I'll stick with the standards. And if someone needs the TAB character so much, I can add it to the 0-key list. But for now, it is gone, because it seems to have no value.

sspanak commented 3 weeks ago

Here is a new version with a separate SHIFT key. I needed a couple of days to readjust the muscle memory, but I believe it is much better now. I should much more clear what each key does now. Hate it or like it.

The language/mode key has two hidden functions. You can swipe vertically to show the list of all installed keyboards; and you can swipe horizontally to quick-switch to the last used keyboard.

Nothing is documented yet but I'll try to describe everything clearly in the manual for the final release.

Also, have in mind this version contains some of the new features and bugfixes for v39.0. There are now dramatic changes, besides the new, so it shouldn't be a big deal for you. But it is nice to know, I guess.

maverick74 commented 3 weeks ago

Just installed!!!

I like it!!! šŸ˜€

it's indeed much MUCH BETTER!!!

Thank you!!! šŸ˜€ (it's worth noting that to change between languages you have to hold the language/mode key!)

sspanak commented 3 weeks ago

(it's worth noting that to change between languages you have to hold the language/mode key!)

Correct. If a key has a "hold" function, it is usually displayed on top. As I said, I will document this before officially publishing v39.0.

WallK commented 3 weeks ago

On CAT S22 there's a speakerphone button that acts like a tab in most places Can this shift be assigned to it?

sspanak commented 3 weeks ago

On CAT S22 there's a speakerphone button that acts like a tab in most places Can this shift be assigned to it?

Maybe. Go to Settings -> Keypad -> Hotkeys, then click the SHIFT key dropdown. You should see Volume Up/Down or Mute options. Try if any of them works. If not, the key probably has a non-standard code > 255, or Android does not let the keyboards "see" it. There is a similar key on Sonim XP3 that I have tried to use but the key presses never reached my code.

You can also try if this app detects the speakerphone key presses. If it does, please send me the logs and I will add support for the key.

WallK commented 3 weeks ago

There's no mute button in the list And that app is not available for the CAT S22...

sspanak commented 3 weeks ago

Yes, because it hasn't been updated in a while. Try downloading it from APKPure.