Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Flick button keyboard.
-
@shinya.ta said
'long_press is not defined”
That will say that you did not create a gestures.py with the right content in the same folder
-
@cvp said:
@shinya.ta Could you test this version of Emojis Keyboard.py, and tell me if the A button works as a flick button when you tap it with a long press.
Important: the modified script imports a gestures module that you have to download from https://github.com/mikaelho/pythonista-gestures/blob/master/gestures.py and to save in your site-packages folder.
Of course, this is only a test to check if I have correctly understood what you ask, thus don't hope to find here the solution.
If it is ok, you would have to give me a full description of wanted keys and their content when flicked.Only tested on iPad
Long press on A key gives
Moving finger on E key gives
I've finally made it this far.
The test is OK.
The order of the buttons is "A" in the middle, "B" on the left, "C" on the top, "D" on the right, and "E" on the bottom.
In Japanese, "A", "あ", "B", "い", "C", "う", "D", "え", "E" and "お". -
@cvp
Also, "Voice Over" doesn't work after the text is displayed. It doesn't read out the button.
"Voice Over" is important. "A" is read aloud, but the following "B, C, D, E" is not read. -
@shinya.ta said
I've finally made it this far.
Ok, we are a step more. Now, as gestures.py is installed, next steps would be easier with only several new versions of Emojis keyboard.py.
I'll display a version (at right, you will see) of the script so we will always be sure we speak about the same code.
Most important, at this stage, is to be sure I understood what flicking is for you.
-
@shinya.ta said
Also, "Voice Over" doesn't work after the text is displayed. It doesn't read out the button.
"Voice Over" is important. "A" is read aloud, but the following "B, C, D, E" is not read.First bug of my side, I'm also authorized to do some bugs, not only you (joke 😂)
-
-
@shinya.ta said
Also, "Voice Over" doesn't work after the text is displayed. It doesn't read out the button.
"Voice Over" is important. "A" is read aloud, but the following "B, C, D, E" is not read.I've to admit that I don't know anything about Voice Over and I don't remember all what I've eventually learned two years ago
Which settings I have to set on my IPhone.Anyway, you say that "A" is read aloud. But there are two ways to generate the "A":
- when you tap the key
- when you have a long press and that your move ends on the "A"
Did you try both ways and which one(s) do Speech the "A"?
-
@cvp
I'm sorry. English is too difficult for me to understand. -
@shinya.ta which part of my message? Do you never copy an English text in Google Translate app and ask it to translate in Japanese.
Anyway, there is a new version of Emojis Keyboard.py with two flicking keys in Japanese
-
@cvp
I read only the first tap. I don't read at all when I move. -
@cvp said:
@shinya.ta new version V00.01, https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py
I'm sorry. I understand it after I translate it on Google. There are times when I don't understand the meaning because it's too literal translation.
I have tried this version. Only the first letter is read aloud, and the moved letter is not read.
-
@shinya.ta Anyway, I don't remember how does voice over works. Do you need to type twice on a key? And how if long press?
-
@cvp
You need to tap two times. After that, you need to select characters in a long press state, but you don't read during that time. -
@shinya.ta after the long press and the move on a character, when the finger leaves the screen, the letter is inserted and readout . Do you want the letter becomes said when letter becomes blue?
-
@cvp
Please do so. The flick input button in Japan is also like that. -
@shinya.ta I try but I don't yet find a way to do that.
-
@shinya.ta VoiceOver is an IOS feature that automatically reads aloud the title of a tapped key but our flicked keys are generated by our script without iOS knows it is a simulated key, thus does not reads aloud them. I try without success to speech a key which becomes blue, but without success.
-
@cvp
Do you mean you need the own reading function of Pythonista? -
@shinya.ta yes but without success actually
-
@cvp
Do I need a Japanese voice library?