Skip to content
  • Categories
  • Recent
  • Popular
  • Support
  • MyRoute-app
Collapse
Brand Logo

MRA Community Forum

  1. Home
  2. The MyRoute-app
  3. [App] Suggestions and Discussion
  4. MotoButtons Lite DIY project!

MotoButtons Lite DIY project!

Scheduled Pinned Locked Moved [App] Suggestions and Discussion
52 Posts 10 Posters 8.6k Views 3 Watching
  • 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.
  • joncoxundefined joncox

    Hello, I'm the author/creator of MotoButtons. I added support for cycling through multiple modes of operation, including a new one for MyRoute App.

    I tested it out on the Android app, and it seems to work OK. It supports the same functionality as BarButtons, but the 8th button is a "virtual" button activated by long pressing the center joystick button.

    Briefly, the key mapping is up/down/left/right arrows, 'c', '-', '+' and 'n' (vitual). The virtual button pulls up the menu.

    Jörgenundefined Offline
    Jörgenundefined Offline
    Jörgen
    Valued contributor
    wrote on last edited by
    #7

    @joncox Hi, you read my suggestion, and you have it already implemented.

    That is great, thank you very much. 👍

    My parts will arrive tomorrow and I hope I can finish the MotoButtons over the weekend. I will let you know the result.

    Hardware
    iPhone 12 pro (iOS 17.0.2)
    Oukitel RT3 (Andr. 12)
    Samsung Galaxy XCover 4 (Andr. 9 Pie)
    Wireless CarPlay mit (Elebest C650)
    Wired CarPlay (SEAT Arona - 2021)
    For more information, click here

    1 Reply Last reply
    0
    • joncoxundefined joncox

      Hello, I'm the author/creator of MotoButtons. I added support for cycling through multiple modes of operation, including a new one for MyRoute App.

      I tested it out on the Android app, and it seems to work OK. It supports the same functionality as BarButtons, but the 8th button is a "virtual" button activated by long pressing the center joystick button.

      Briefly, the key mapping is up/down/left/right arrows, 'c', '-', '+' and 'n' (vitual). The virtual button pulls up the menu.

      Con Hennekensundefined Offline
      Con Hennekensundefined Offline
      Con Hennekens
      Alpha tester
      wrote on last edited by
      #8

      @joncox, great that you are here! 😉 As I understand it, you open the menu using a press-down on the joystick. Does that same method also activate the menu option you select? That would probably explain why two buttons are enough.

      Another suggestion would be to make a longpress on one of the buttons switch from zooming +/- to volume +/-

      I am interested, I will look into your project for sure!

      I am just an enthusiastic MRA user, and hope you will be one too!

      Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

      Streetpilot 2610 / Zumo 660 / Zumo 395 / CAT S52 + MRA app

      1 Reply Last reply
      0
      • Jörgenundefined Jörgen referenced this topic on
      • Jörgenundefined Offline
        Jörgenundefined Offline
        Jörgen
        Valued contributor
        wrote on last edited by
        #9

        So MotoButtons is ready and with some little changes working with MRA.
        Zooming in/out, open menu etc. works fine.
        I am not sure which mode I like more (mouse or BarButtons), I need to have praxis test.

        Anyway thanks to Jon for this great project, I like it. 👍

        Hardware
        iPhone 12 pro (iOS 17.0.2)
        Oukitel RT3 (Andr. 12)
        Samsung Galaxy XCover 4 (Andr. 9 Pie)
        Wireless CarPlay mit (Elebest C650)
        Wired CarPlay (SEAT Arona - 2021)
        For more information, click here

        Martin Wilckeundefined 1 Reply Last reply
        0
        • Jörgenundefined Jörgen

          So MotoButtons is ready and with some little changes working with MRA.
          Zooming in/out, open menu etc. works fine.
          I am not sure which mode I like more (mouse or BarButtons), I need to have praxis test.

          Anyway thanks to Jon for this great project, I like it. 👍

          Martin Wilckeundefined Online
          Martin Wilckeundefined Online
          Martin Wilcke
          wrote on last edited by
          #10

          @Jörgen Can we have some pics, please! 👏

          1 Reply Last reply
          0
          • Jörgenundefined Offline
            Jörgenundefined Offline
            Jörgen
            Valued contributor
            wrote on last edited by
            #11

            @Martin-Wilcke Looks like this one.

            https://github.com/joncox123/MotoButtons?

            Hardware
            iPhone 12 pro (iOS 17.0.2)
            Oukitel RT3 (Andr. 12)
            Samsung Galaxy XCover 4 (Andr. 9 Pie)
            Wireless CarPlay mit (Elebest C650)
            Wired CarPlay (SEAT Arona - 2021)
            For more information, click here

            1 Reply Last reply
            0
            • Jörgenundefined Offline
              Jörgenundefined Offline
              Jörgen
              Valued contributor
              wrote on last edited by
              #12

              @Corjan-Meijerink I build the MotoButtons and they work fine so far. The author made some changes already to improve the function.
              But they are not perfect, or may be I did something wrong.
              The MotoButtons are in BarButton mode as well as MRA. Moving map, zoom in out are ok, long press on the joystick Center open menu or Center map. If I am in the menu, I can move up down, but how to get out of the menu? What command is needed, or how does the BarButton do this? With another button? And how is the skip waypoint working, also with another button?
              May be a BarButton owner can help.

              Hardware
              iPhone 12 pro (iOS 17.0.2)
              Oukitel RT3 (Andr. 12)
              Samsung Galaxy XCover 4 (Andr. 9 Pie)
              Wireless CarPlay mit (Elebest C650)
              Wired CarPlay (SEAT Arona - 2021)
              For more information, click here

              richtea999undefined 1 Reply Last reply
              0
              • Jörgenundefined Jörgen

                @Corjan-Meijerink I build the MotoButtons and they work fine so far. The author made some changes already to improve the function.
                But they are not perfect, or may be I did something wrong.
                The MotoButtons are in BarButton mode as well as MRA. Moving map, zoom in out are ok, long press on the joystick Center open menu or Center map. If I am in the menu, I can move up down, but how to get out of the menu? What command is needed, or how does the BarButton do this? With another button? And how is the skip waypoint working, also with another button?
                May be a BarButton owner can help.

                richtea999undefined Offline
                richtea999undefined Offline
                richtea999
                Valued contributor
                wrote on last edited by richtea999
                #13

                @Jörgen The BarButtons codes are here:
                https://jaxeadv.com/barbuttons/using-the-barbuttons/barbuttons-user-guide-v4/

                The default keymap for MRA is Keymap 1:

                And here's the specific info on what Keymap 1 does in MRA:
                https://jaxeadv.com/barbuttons/compatible-applications/#htoc-m

                So, combining those two together, to leave the menu you need to generate an 'N' = close drawer. Which on BarButtons is button 3.

                Let us know how you get on!

                1 Reply Last reply
                0
                • Jörgenundefined Offline
                  Jörgenundefined Offline
                  Jörgen
                  Valued contributor
                  wrote on last edited by
                  #14

                  Here a video that explains the problem:

                  https://youtu.be/UYnIyIdnH_o?si=aScruJCCABUo3m7Q

                  Hardware
                  iPhone 12 pro (iOS 17.0.2)
                  Oukitel RT3 (Andr. 12)
                  Samsung Galaxy XCover 4 (Andr. 9 Pie)
                  Wireless CarPlay mit (Elebest C650)
                  Wired CarPlay (SEAT Arona - 2021)
                  For more information, click here

                  joncoxundefined 1 Reply Last reply
                  0
                  • Jörgenundefined Jörgen

                    Here a video that explains the problem:

                    https://youtu.be/UYnIyIdnH_o?si=aScruJCCABUo3m7Q

                    joncoxundefined Offline
                    joncoxundefined Offline
                    joncox
                    wrote on last edited by joncox
                    #15

                    @Jörgen I think the problem is due to keyboard layout locale in Android and iOS. I changed the "keyboard layout" from US English to German in Android 10, and I reproduced the problem you said you had on iPhone (minus key becomes "/" key).

                    Your problem is different on Android, however, I am almost certain it is still a keyboard layout problem. You have to also set the "keyboard layout" for the MotoButtons to US English. This will only effect the MotoButtons controller, not the rest of your system.

                    https://www.mobilefun.co.uk/blog/2015/04/how-to-fix-bluetooth-keyboard-language-settings/

                    https://support.apple.com/guide/iphone/add-or-change-keyboards-iph73b71eb/ios

                    In hindsight, I think MRA should use keys that do not change with different keyboard layouts. In other words, using n, c, +, - is probably a bad idea. However, on a US full sized keyboard, there are two minus keys. Maybe if I send the other one, it will work correctly on US and German layouts. I wasn't sure originally which one to send.

                    Lastly, in KeyEventDisplay, I noticed that holding down the center button does not release the key until the button is released. This is the proper behavior in DMD2, but it triggers the internal key repeat in Android. Again, the latest firmware is working correctly for me on iPhone and Android with US layout, but maybe this is also causing an issue on your Android tablet. I could try disabling the repeat for center button long press.

                    By the way, I am not studying the BarButtons code because I don't think he has released it as open source. So I am not looking at it to avoid any potential copyright questions.

                    1 Reply Last reply
                    0
                    • Jörgenundefined Offline
                      Jörgenundefined Offline
                      Jörgen
                      Valued contributor
                      wrote on last edited by Jörgen
                      #16

                      HI, I changed the keyboard layout as you said, but get still the black screen like in the video.
                      But I noticed something, when I do a long press (1-2sec.) on the center button, the first white LED is flashing. If I release the pressure then, the menu opens normal, if I press longer then LED flashing I get the black screen.

                      Hardware
                      iPhone 12 pro (iOS 17.0.2)
                      Oukitel RT3 (Andr. 12)
                      Samsung Galaxy XCover 4 (Andr. 9 Pie)
                      Wireless CarPlay mit (Elebest C650)
                      Wired CarPlay (SEAT Arona - 2021)
                      For more information, click here

                      1 Reply Last reply
                      0
                      • Jörgenundefined Offline
                        Jörgenundefined Offline
                        Jörgen
                        Valued contributor
                        wrote on last edited by Jörgen
                        #17

                        Hi, I think we got a little further and were able to pinpoint the problem a little more precisely. It has nothing to do with the keyboard layout.
                        The MotoButtons send key signals to MRA (n, c, +, -, left, right, up, down).
                        During testing, I had Google open and cold see what keys were sent to my tablet. You could see +, -, for the zoom buttons, you could see c for the center button, and you could see n for long press center and on longer press nnnnnnnnnn.
                        But as shown in the video, if you press n too long in MRA, MRA crashes.
                        The first Idea was that is an issue of the MotoButtons, then I had the idea to use a Bluetooth keyboard in MRA (in BarButton Mode).
                        Everything worked as expected, except when I press n longer, MRA crashes.
                        So I can get the same problem, like in the above video with a BT keyboard.

                        @Corjan-Meijerink can you take a look into this?

                        Hardware
                        iPhone 12 pro (iOS 17.0.2)
                        Oukitel RT3 (Andr. 12)
                        Samsung Galaxy XCover 4 (Andr. 9 Pie)
                        Wireless CarPlay mit (Elebest C650)
                        Wired CarPlay (SEAT Arona - 2021)
                        For more information, click here

                        Corjan Meijerinkundefined 1 Reply Last reply
                        0
                        • Jörgenundefined Jörgen

                          Hi, I think we got a little further and were able to pinpoint the problem a little more precisely. It has nothing to do with the keyboard layout.
                          The MotoButtons send key signals to MRA (n, c, +, -, left, right, up, down).
                          During testing, I had Google open and cold see what keys were sent to my tablet. You could see +, -, for the zoom buttons, you could see c for the center button, and you could see n for long press center and on longer press nnnnnnnnnn.
                          But as shown in the video, if you press n too long in MRA, MRA crashes.
                          The first Idea was that is an issue of the MotoButtons, then I had the idea to use a Bluetooth keyboard in MRA (in BarButton Mode).
                          Everything worked as expected, except when I press n longer, MRA crashes.
                          So I can get the same problem, like in the above video with a BT keyboard.

                          @Corjan-Meijerink can you take a look into this?

                          Corjan Meijerinkundefined Offline
                          Corjan Meijerinkundefined Offline
                          Corjan Meijerink
                          Developer
                          wrote on last edited by
                          #18

                          @Jörgen I've replied to the email thread.
                          The issue regarding long pressing that character has been fixed for the next (beta) update.

                          Jörgenundefined 1 Reply Last reply
                          2
                          • Corjan Meijerinkundefined Corjan Meijerink

                            @Jörgen I've replied to the email thread.
                            The issue regarding long pressing that character has been fixed for the next (beta) update.

                            Jörgenundefined Offline
                            Jörgenundefined Offline
                            Jörgen
                            Valued contributor
                            wrote on last edited by
                            #19

                            @Corjan-Meijerink Ok, thank you, saw the mail.

                            So you think that this and the other issue with BT connection have the same cause?
                            I will report after next update. 👍

                            Hardware
                            iPhone 12 pro (iOS 17.0.2)
                            Oukitel RT3 (Andr. 12)
                            Samsung Galaxy XCover 4 (Andr. 9 Pie)
                            Wireless CarPlay mit (Elebest C650)
                            Wired CarPlay (SEAT Arona - 2021)
                            For more information, click here

                            Corjan Meijerinkundefined 1 Reply Last reply
                            0
                            • Jörgenundefined Jörgen

                              @Corjan-Meijerink Ok, thank you, saw the mail.

                              So you think that this and the other issue with BT connection have the same cause?
                              I will report after next update. 👍

                              Corjan Meijerinkundefined Offline
                              Corjan Meijerinkundefined Offline
                              Corjan Meijerink
                              Developer
                              wrote on last edited by
                              #20

                              @Jörgen the connection crash seems very weird and not reproducible on any of our Androids / iPhones 🙂 Could be your device, could be the tablet or something else 🤷

                              Hubert Thoringundefined Jörgenundefined 2 Replies Last reply
                              0
                              • Corjan Meijerinkundefined Corjan Meijerink

                                @Jörgen the connection crash seems very weird and not reproducible on any of our Androids / iPhones 🙂 Could be your device, could be the tablet or something else 🤷

                                Hubert Thoringundefined Online
                                Hubert Thoringundefined Online
                                Hubert Thoring
                                Valued contributor
                                wrote on last edited by Hubert Thoring
                                #21

                                @Corjan-Meijerink : BT Tasten für die MyRoute App Anwendung für Android und iPhone.

                                Meine Suche hat ergeben bzw. gezeigt das nur eine ges. Lösung langfristig funktioniert, da es immer wieder scheitert wenn sich Basis Themen in Software oder Hardware im Umfeld der Hersteller ändern.

                                Es gehört zwingend zusammen:

                                • MRA Navi Lösung
                                • BT Tasten Lösung

                                Beides sollte aus einem Haus / einer Entwicklung hier dann von MEA Team kommen.

                                Egal welche Lösung verfolgt wird, aus meiner Sicht gehört so eine BT Tastatur passend für MRA Navigation App Anwendung mit einer langfristigen Lösung für alle User auch zum Produkt der MRA ges. Lösung.

                                Bitte MRA Team, löst das Problem, damit alle was gutes Langfristig haben.

                                VG 👋

                                VG Hubert
                                Info zum Beta Test "Next App" dazu die Hardware ...
                                iPad 9. Generation iOS 18.5 / Handy iPhone Xr iOS 18.5 / PC mit MS Win11 / BMW Connected App mit Cradel.
                                ❗️MyRoute-App im Cradel und Remotek-One❗️

                                Con Hennekensundefined 1 Reply Last reply
                                -2
                                • Corjan Meijerinkundefined Corjan Meijerink

                                  @Jörgen the connection crash seems very weird and not reproducible on any of our Androids / iPhones 🙂 Could be your device, could be the tablet or something else 🤷

                                  Jörgenundefined Offline
                                  Jörgenundefined Offline
                                  Jörgen
                                  Valued contributor
                                  wrote on last edited by
                                  #22

                                  @Corjan-Meijerink said in MotoButtons Lite DIY project!:

                                  @Jörgen the connection crash seems very weird and not reproducible on any of our Androids / iPhones 🙂 Could be your device, could be the tablet or something else 🤷

                                  Sorry Corjan, I could reproduce on a Samsung Galaxy XCover 4 (Andr. 9 Pie) and on Samsung Galaxy Tab S2 (see Video).

                                  https://youtu.be/7crL4t3tJmE

                                  https://youtu.be/OdLeAfN4Xlw

                                  So I belive it is an issue.

                                  Hardware
                                  iPhone 12 pro (iOS 17.0.2)
                                  Oukitel RT3 (Andr. 12)
                                  Samsung Galaxy XCover 4 (Andr. 9 Pie)
                                  Wireless CarPlay mit (Elebest C650)
                                  Wired CarPlay (SEAT Arona - 2021)
                                  For more information, click here

                                  Corjan Meijerinkundefined 1 Reply Last reply
                                  0
                                  • Con Hennekensundefined Offline
                                    Con Hennekensundefined Offline
                                    Con Hennekens
                                    Alpha tester
                                    wrote on last edited by
                                    #23

                                    It could be related, but could also not be related 😉
                                    What I notice about my BarButtons, is that it will not reconnect automatically a second time. After loosing connection (eg draw the power plug and re-plug it), it will not reconnect. I need to remove the connection from the phone and re-pair the unit. But the app does not get influenced by this, in my case.

                                    I am just an enthusiastic MRA user, and hope you will be one too!

                                    Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

                                    Streetpilot 2610 / Zumo 660 / Zumo 395 / CAT S52 + MRA app

                                    1 Reply Last reply
                                    0
                                    • Hubert Thoringundefined Hubert Thoring

                                      @Corjan-Meijerink : BT Tasten für die MyRoute App Anwendung für Android und iPhone.

                                      Meine Suche hat ergeben bzw. gezeigt das nur eine ges. Lösung langfristig funktioniert, da es immer wieder scheitert wenn sich Basis Themen in Software oder Hardware im Umfeld der Hersteller ändern.

                                      Es gehört zwingend zusammen:

                                      • MRA Navi Lösung
                                      • BT Tasten Lösung

                                      Beides sollte aus einem Haus / einer Entwicklung hier dann von MEA Team kommen.

                                      Egal welche Lösung verfolgt wird, aus meiner Sicht gehört so eine BT Tastatur passend für MRA Navigation App Anwendung mit einer langfristigen Lösung für alle User auch zum Produkt der MRA ges. Lösung.

                                      Bitte MRA Team, löst das Problem, damit alle was gutes Langfristig haben.

                                      VG 👋

                                      Con Hennekensundefined Offline
                                      Con Hennekensundefined Offline
                                      Con Hennekens
                                      Alpha tester
                                      wrote on last edited by
                                      #24

                                      @Hubert-Thoring said in MotoButtons Lite DIY project!:

                                      Es gehört zwingend zusammen:

                                      MRA Navi Lösung
                                      BT Tasten Lösung

                                      Why not add a dedicated hardware unit to the list...

                                      I am just an enthusiastic MRA user, and hope you will be one too!

                                      Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

                                      Streetpilot 2610 / Zumo 660 / Zumo 395 / CAT S52 + MRA app

                                      1 Reply Last reply
                                      0
                                      • Jörgenundefined Jörgen

                                        @Corjan-Meijerink said in MotoButtons Lite DIY project!:

                                        @Jörgen the connection crash seems very weird and not reproducible on any of our Androids / iPhones 🙂 Could be your device, could be the tablet or something else 🤷

                                        Sorry Corjan, I could reproduce on a Samsung Galaxy XCover 4 (Andr. 9 Pie) and on Samsung Galaxy Tab S2 (see Video).

                                        https://youtu.be/7crL4t3tJmE

                                        https://youtu.be/OdLeAfN4Xlw

                                        So I belive it is an issue.

                                        Corjan Meijerinkundefined Offline
                                        Corjan Meijerinkundefined Offline
                                        Corjan Meijerink
                                        Developer
                                        wrote on last edited by
                                        #25

                                        @Jörgen I don't have this specific BT device myself.
                                        If you would try the same with another BT controller (or just a wireless BT keyboard), doe this then also reproduce the issue?

                                        Just to illustratie, I've testen with SilverFox, BarButtons & Carpe Iter which all worked fine on connecting / disconnecting.

                                        Jörgenundefined 1 Reply Last reply
                                        0
                                        • Corjan Meijerinkundefined Corjan Meijerink

                                          @Jörgen I don't have this specific BT device myself.
                                          If you would try the same with another BT controller (or just a wireless BT keyboard), doe this then also reproduce the issue?

                                          Just to illustratie, I've testen with SilverFox, BarButtons & Carpe Iter which all worked fine on connecting / disconnecting.

                                          Jörgenundefined Offline
                                          Jörgenundefined Offline
                                          Jörgen
                                          Valued contributor
                                          wrote on last edited by
                                          #26

                                          @Corjan-Meijerink you are right it could be related to this BT controller. May be the update will change something.
                                          Anyway, I have asked the developer if it possible that the controller sents something during connect/disconnect that could cause this.

                                          Hardware
                                          iPhone 12 pro (iOS 17.0.2)
                                          Oukitel RT3 (Andr. 12)
                                          Samsung Galaxy XCover 4 (Andr. 9 Pie)
                                          Wireless CarPlay mit (Elebest C650)
                                          Wired CarPlay (SEAT Arona - 2021)
                                          For more information, click here

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • 3
                                          ACTIVE USERS
                                          Hubert Thoringundefined
                                          Hubert Thoring
                                          Con Hennekensundefined
                                          Con Hennekens
                                          Corjan Meijerinkundefined
                                          Corjan Meijerink
                                          Jörgenundefined
                                          Jörgen
                                          richtea999undefined
                                          richtea999
                                          Martin Wilckeundefined
                                          Martin Wilcke
                                          joncoxundefined
                                          joncox
                                          Leo Kleinundefined
                                          Leo Klein
                                          harupipapaZZZundefined
                                          harupipapaZZZ
                                          Robert Jeffriesundefined
                                          Robert Jeffries
                                          POPULAR TOPICS
                                          • 12 Tage in den Seealpen mit MRA und es war eher NICHT gut..
                                            Hubert Thoringundefined
                                            Hubert Thoring
                                            0
                                            14
                                            239

                                          • Scenic routing & RouteXpert library improvements
                                            Tony 13undefined
                                            Tony 13
                                            12
                                            18
                                            1.2k

                                          • New beta! 4.4.0 (400)
                                            Rob Verhoeffundefined
                                            Rob Verhoeff
                                            6
                                            4
                                            18

                                          • route calculatie werkt sinds vanmiddag niet. ?
                                            paul hulseggeundefined
                                            paul hulsegge
                                            0
                                            4
                                            69

                                          • Can't remove icon
                                            Dennis Hoogendonkundefined
                                            Dennis Hoogendonk
                                            0
                                            3
                                            39

                                          • Garmin XT2 waypoint
                                            Con Hennekensundefined
                                            Con Hennekens
                                            0
                                            3
                                            59

                                          • Server/Gateway/MySQL issue?
                                            Adrian Avramundefined
                                            Adrian Avram
                                            0
                                            6
                                            109

                                          • Looking for a Route from Roermond to Ijmuiden, Netherlands?
                                            Nomko Nomdenundefined
                                            Nomko Nomden
                                            0
                                            2
                                            51
                                          MY GROUPS
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Popular
                                          • Support
                                          • MyRoute-app