Hello Evgeny, i would like to ask you to give me some help with your solution in the link above. I have bought the Controller, i have the Software on my mobile, and i have a connection per Bluetooth to the phone. How can i program the buttons that they work like in your video (zoom in/out, Center with gps signal and Map rotation? I will use it on a offroad bike but now i dont understand how to program the buttons to do the right things?
Thank you very much
Robert / Austria
As I'm also a happy user of this feature (see http://help.locusmap.eu/topic/bluettoth-button-integration), I would appreciate having more functions accessible via BT (or any other "keyboard").
Seems like I will have to search for a small device with more buttons, though ;-)
As I'm also a happy user of this feature (see http://help.locusmap.eu/topic/bluettoth-button-integration), I would appreciate having more functions accessible via BT (or any other "keyboard").
Seems like I will have to search for a small device with more buttons, though ;-)
One more wished command :) (after more controller usage)
One more wished command :) (after more controller usage)
+1 vote for this improvements
+1 vote for this improvements
More actual description (from another topic):
Simple commands (map existing command to keycode):
- (!) Route recalculation
- (!) Open "Quick new point" dialog
- Dashboard on/off
- Speed auto-zoom on/off
- Zoom lock on/off
New function (but great for bicycle remote control): change maps. I see two simple solutions:
- (simple) change to previous map (== swap two last maps). I can select scheme, then sattelite image. An on bicycle, swap it with one button.
- (complex) two keys for going up and down through "Quick map switch" list.
Current solution with keycodes in config.cfg is very easy to use with cheap gamepad. Now, I don't know how to do this using intents.
More actual description (from another topic):
Simple commands (map existing command to keycode):
- (!) Route recalculation
- (!) Open "Quick new point" dialog
- Dashboard on/off
- Speed auto-zoom on/off
- Zoom lock on/off
New function (but great for bicycle remote control): change maps. I see two simple solutions:
- (simple) change to previous map (== swap two last maps). I can select scheme, then sattelite image. An on bicycle, swap it with one button.
- (complex) two keys for going up and down through "Quick map switch" list.
Current solution with keycodes in config.cfg is very easy to use with cheap gamepad. Now, I don't know how to do this using intents.
@Menion: wouldn't make it sense to give any control/function a certain token and to be able to fire this token via bluetooth.
Of course a control-avalaible-and-input-makes-sense-function needs to be run, but just a detail.
Just an idea.
@Menion: wouldn't make it sense to give any control/function a certain token and to be able to fire this token via bluetooth.
Of course a control-avalaible-and-input-makes-sense-function needs to be run, but just a detail.
Just an idea.
I also have the VR remote control suggested by Evgeny. The buttons work fine, although for switching the display off (hardware_buttons_action_display) one must release the button quickly enough for not triggering a "display on" with the same button press.
But the real problem is LocusMap's sluggish response to joystick events. The joystick sends KEYCODE_DPAD_DOWN/UP/LEFT/RIGHT keycodes (assuming the remote works in mode C or D). However, these keycodes seem to be buffered and become only effective when LocusMap updates the screen for some other reason. The key events themselves don't seem to trigger a screen update. So without having GPS activated, the screen is basically never updated and the joystick becomes unusable. With GPS activated, it probably depends on the GPS update rate and related settings how fast and smooth the response to the joystick feels. Given how smoothly the panning works with normal touchscreen gestures, there seems to be quite some room for improvement of handling KEYCODE_DPAD_XXX key events, unfortunately.
I also have the VR remote control suggested by Evgeny. The buttons work fine, although for switching the display off (hardware_buttons_action_display) one must release the button quickly enough for not triggering a "display on" with the same button press.
But the real problem is LocusMap's sluggish response to joystick events. The joystick sends KEYCODE_DPAD_DOWN/UP/LEFT/RIGHT keycodes (assuming the remote works in mode C or D). However, these keycodes seem to be buffered and become only effective when LocusMap updates the screen for some other reason. The key events themselves don't seem to trigger a screen update. So without having GPS activated, the screen is basically never updated and the joystick becomes unusable. With GPS activated, it probably depends on the GPS update rate and related settings how fast and smooth the response to the joystick feels. Given how smoothly the panning works with normal touchscreen gestures, there seems to be quite some room for improvement of handling KEYCODE_DPAD_XXX key events, unfortunately.
I have exactly the same problem, but I thought that is related to my home made Bluetooth Device. I think I use cursor keys, but the behaviour is the same.
So it is related to some Locus Enhancement, can there be a fix?
I have exactly the same problem, but I thought that is related to my home made Bluetooth Device. I think I use cursor keys, but the behaviour is the same.
So it is related to some Locus Enhancement, can there be a fix?
Yet another mod for attaching the R1 Remote Controller to the bike. I replaced the bottom part of the controller with a 3D-printed part that can be clipped to a bracket which is fixed to the handle bar. In comparison to Evgeny's solution the controller is placed a bit higher above the handle bar and more to the front. It could be lowered by 5mm, but I actually needed the vertical space so that the controller wouldn't collide with the brake fixture. And the bracket had to be thin enough (12mm) to fit between the grip and the brake fixture. Turned out to be more complicated than anticipated - and all that for just a few stupid buttons. Let's see how it is holding up.
Yet another mod for attaching the R1 Remote Controller to the bike. I replaced the bottom part of the controller with a 3D-printed part that can be clipped to a bracket which is fixed to the handle bar. In comparison to Evgeny's solution the controller is placed a bit higher above the handle bar and more to the front. It could be lowered by 5mm, but I actually needed the vertical space so that the controller wouldn't collide with the brake fixture. And the bracket had to be thin enough (12mm) to fit between the grip and the brake fixture. Turned out to be more complicated than anticipated - and all that for just a few stupid buttons. Let's see how it is holding up.
One more interesting remote: https://aliexpress.com/item//32832266900.html
Easy mounting with integrated rubber strap.
One more interesting remote: https://aliexpress.com/item//32832266900.html
Easy mounting with integrated rubber strap.
Guys. this is fantastic! I've been looking for the exact same thing since I started using Locus for motorcycle navigation in 2016. I've just ordered a bunch of R1 remotes from Ali.
Has anyone thought about making a more weatherproof system? I've looked into building my own handlebar remote with the Adafruit EZ-key controller, but it seems to be discontinued.
Thanks for your pioneering. This will make Locus even more awesome!
Guys. this is fantastic! I've been looking for the exact same thing since I started using Locus for motorcycle navigation in 2016. I've just ordered a bunch of R1 remotes from Ali.
Has anyone thought about making a more weatherproof system? I've looked into building my own handlebar remote with the Adafruit EZ-key controller, but it seems to be discontinued.
Thanks for your pioneering. This will make Locus even more awesome!
great idea, guys! I use the same controller, and hope @menion dont forget to add new commands)
great idea, guys! I use the same controller, and hope @menion dont forget to add new commands)
I also suggested something similar: https://help.locusmap.eu/topic/using-locus-to-navigate-by-ear-ver-2
I also use this controller. Work perfectly.
I also suggested something similar: https://help.locusmap.eu/topic/using-locus-to-navigate-by-ear-ver-2
I also use this controller. Work perfectly.
Replies have been locked on this page!