omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.

    Pythonista
    5
    491
    7908
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp @shinya.ta last edited by cvp

      @shinya.ta said

      "Flick input" is a way to input characters by placing your finger in the direction of the character you want to type. If you want to type "I", touch the "A" key. If you don't let go of your finger, the characters in the "A" line appear, such as "I", "U", "E", and "O".

      Wow. Less easy but I guess it could be possible (but less sure). But I still have the same question.
      Where do you want to use this keyboard?

      shinya.ta 1 Reply Last reply Reply Quote 0
      • shinya.ta
        shinya.ta @cvp last edited by

        @cvp

        That's good news.

        I want to use it for e-mail and website search like the old keyboard.

        cvp 1 Reply Last reply Reply Quote 0
        • cvp
          cvp @shinya.ta last edited by cvp

          @shinya.ta said

          That's good news.

          Don't be optimistic too quickly. I said that I'm no sure and, obviously, if it is possible, it would be not easy.

          I didn't know this feature, seeming to exist as standard setting on Japanese iPad.
          I guess that if Apple did not configure it on iPhone, there is a reason.

          https://m.youtube.com/watch?v=KKHFWjBvIZw

          This YouTube (you sent) shows such a keyboard on iPhone, thus why do want to create one yourself?

          shinya.ta 1 Reply Last reply Reply Quote 0
          • shinya.ta
            shinya.ta @cvp last edited by

            @cvp

            The reason why I want to make a custom keyboard is for my wife.

            On the old keyboard, if you switch the keyboard when you need to move the cursor, the character being converted will be determined.

            So, I want to combine the previous cursor movement application with this custom keyboard and make one that doesn't need to switch the keyboard.

            cvp 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @shinya.ta last edited by

              @shinya.ta Sorry, I think that I become too old for this kind of stuff, I don't understand anything.
              Believe me, you aren't responsible, I am.

              shinya.ta 1 Reply Last reply Reply Quote 0
              • shinya.ta
                shinya.ta @cvp last edited by

                @cvp
                I want to combine the previous keyboard and the new flick button keyboard.

                Flick input button is essential.

                cvp 1 Reply Last reply Reply Quote 0
                • cvp
                  cvp @shinya.ta last edited by

                  @shinya.ta said

                  previous keyboard

                  What is that?

                  shinya.ta 2 Replies Last reply Reply Quote 0
                  • shinya.ta
                    shinya.ta @cvp last edited by

                    @cvp
                    It is the cursor movement keyboard that you made before.

                    cvp 1 Reply Last reply Reply Quote 0
                    • shinya.ta
                      shinya.ta @cvp last edited by

                      @cvp
                      If there is a flick input button, it will be easier for my wife to use.

                      1 Reply Last reply Reply Quote 0
                      • cvp
                        cvp @shinya.ta last edited by cvp

                        @shinya.ta said

                        It is the cursor movement keyboard that you made before.

                        If I remember, it is not a keyboard that I wrote but a particular script to use buttons for cursor movements in a TextView, but it uses a standard keyboard and you want a special keyboard with flick button keys?

                        Please, confirm both:

                        1. what you call "cursor movement keyboard" is the "Move cursor in TextView.py" script where you have to tap buttons to move the cursor. And thus is not a keyboard.
                        2. you want, in this script, to use a particular Japanese keyboard where keys can be used as flick buttons to generate vowels
                        shinya.ta 1 Reply Last reply Reply Quote 0
                        • shinya.ta
                          shinya.ta @cvp last edited by

                          @cvp

                          I want a special keyboard.

                          The Japanese input button is a flick input button, and I want to equip other blank buttons, a new line button, and a cursor movement button.

                          1. I don't quite understand what this
                            means.
                          cvp 1 Reply Last reply Reply Quote 0
                          • cvp
                            cvp @shinya.ta last edited by cvp

                            @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

                            shinya.ta 3 Replies Last reply Reply Quote 0
                            • shinya.ta
                              shinya.ta @cvp last edited by

                              @cvp
                              I'm sorry. I don't know how to download it.

                              cvp 1 Reply Last reply Reply Quote 0
                              • cvp
                                cvp @shinya.ta last edited by cvp

                                @shinya.ta said

                                I don't know how to download it.

                                My script, Mikael's script, both? Never downloaded something from GitHub ? 😭

                                Some years ago, I wrote some scripts for you or your wife. Did I always post them in the forum, never in GitHub ?

                                Anyway, to download gestures.py into your site-packages folder, create and run, once, this little script

                                import os
                                import requests
                                url = 'https://raw.githubusercontent.com/mikaelho/pythonista-gestures/master/gestures.py'
                                data = requests.get(url).content
                                dir  = os.path.expanduser('~/Documents/site-packages')	
                                file_name = url.split('/')[-1]
                                path = dir + '/' + file_name
                                with open(path,mode='wb') as out_file:
                                	out_file.write(data)
                                

                                To download my little "Emojis keyboard .py" in your Pythonista's root, create and run once this little script

                                import os
                                import requests
                                #url = 'https://raw.githubusercontent.com/mikaelho/pythonista-gestures/master/gestures.py'
                                url = 'https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py'
                                data = requests.get(url).content
                                dir  = os.path.expanduser('~/Documents/')	
                                file_name = url.split('/')[-1].replace('%20', ' ')
                                path = dir + '/' + file_name
                                with open(path,mode='wb') as out_file:
                                	out_file.write(data)
                                

                                Then you have to replace the old keyboard script by this modified one... Please give me some feedback. Thanks

                                shinya.ta 2 Replies Last reply Reply Quote 0
                                • shinya.ta
                                  shinya.ta @cvp last edited by

                                  @cvp

                                  """ docgen-ignore """

                                  This is "Indentation Error".

                                  cvp 1 Reply Last reply Reply Quote 0
                                  • cvp
                                    cvp @shinya.ta last edited by

                                    @shinya.ta Where? In one my both little scripts to download or in gestures.py or in Emojis Keyboard.py?

                                    shinya.ta 2 Replies Last reply Reply Quote 0
                                    • shinya.ta
                                      shinya.ta @cvp last edited by

                                      @cvp
                                      Can't I paste "gestures. py" into "Emoji Keyboard. py"?

                                      1 Reply Last reply Reply Quote 0
                                      • shinya.ta
                                        shinya.ta @cvp last edited by

                                        @cvp
                                        When I pasted "gestures. py" into "Emoji Keyboard. py" and started it, I got the previous error.

                                        cvp 1 Reply Last reply Reply Quote 0
                                        • shinya.ta
                                          shinya.ta @cvp last edited by

                                          @cvp said:

                                          import os
                                          import requests
                                          #url = 'https://raw.githubusercontent.com/mikaelho/pythonista-gestures/master/gestures.py'
                                          url = 'https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py'
                                          data = requests.get(url).content
                                          dir  = os.path.expanduser('~/Documents/')	
                                          file_name = url.split('/')[-1].replace('%20', ' ')
                                          path = dir + '/' + file_name
                                          with open(path,mode='wb') as out_file:
                                          	out_file.write(data)
                                          

                                          This doesn't respond to anything.

                                          1 Reply Last reply Reply Quote 0
                                          • cvp
                                            cvp @shinya.ta last edited by cvp

                                            @shinya.ta said

                                            When I pasted "gestures. py" into "Emoji Keyboard. py" and started it, I got the previous error.

                                            As Emojis Keyboard.py imports gestures.py, you don't have to paste it, thus don't do that.

                                            This doesn't respond to anything.

                                            The little script does not respond something, it copies/replaces the modified Emojis Keyboard.py in your root folder.

                                            Thus, please run my both little scripts and you will find anew Emojis Keyboard.py in your root folder

                                            shinya.ta 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors