OruxMaps

Uncategorized Boards => MEJORAS/NEW FEATURES => Topic started by: quarter on February 19, 2018, 11:43:11 AM

Title: control remoto por bluetooh
Post by: quarter on February 19, 2018, 11:43:11 AM
hola.

seria interesante poder controlar oruxmap desde un gamepad bluetooth a distancia para no tener que soltar el manillar ni tener que pararte del todo.

hay varios modelos de ellos en aliexpress o ebay por unos 6 euros que podrian acomplarse a los manillares sin mucho problema.

un saludo y muchas gracias a los que os lo currais desinteresadamente para que todos lo disfrutemos en cada salida a la montaña.



(//%3C/s%3E%3CURL%20url=%22https://i.ebayimg.com/images/g/HysAAOSwor1aaUX8/s-l1600.jpg%22%3E%3CLINK_TEXT%20text=%22https://i.ebayimg.com/images/g/HysAAOSw%20...%20-l1600.jpg%22%3Ehttps://i.ebayimg.com/images/g/HysAAOSwor1aaUX8/s-l1600.jpg%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)





(//%3C/s%3E%3CURL%20url=%22https://ae01.alicdn.com/kf/HTB1nfHsSFXXXXX.aXXXq6xXFXXXk.jpg?size=69815&height=800&width=800&hash=607fa912a5e41cf20ded672d2db68f39%22%3E%3CLINK_TEXT%20text=%22https://ae01.alicdn.com/kf/HTB1nfHsSFXX%20...%202d2db68f39%22%3Ehttps://ae01.alicdn.com/kf/HTB1nfHsSFXXXXX.aXXXq6xXFXXXk.jpg?size=69815&height=800&width=800&hash=607fa912a5e41cf20ded672d2db68f39%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)
Title: Re: control remoto por bluetooh
Post by: Stager on February 28, 2018, 01:23:33 PM
Quote from: quarter post_id=12886 time=1519036991 user_id=7302
seria interesante poder controlar oruxmap desde un gamepad bluetooth a distancia para no tener que soltar el manillar ni tener que pararte del todo.

With direct mapping OruxMaps functions to buttons and turn off touch screen functionality.
Title: Re: control remoto por bluetooh
Post by: kerekjoe on March 01, 2018, 09:09:30 AM
it would be good!

I tried some types of it.

-the zoom by volume button is ok (keycode 24, 25),

-map move is problematic (mouse mode uncomfortable: push the button and joystick same time, and game mode: some controller can't to do)



the minimal features would be very useful on bikes and motorbikes!

-zoom in-out,

-move map to 4 directions,

-maybe: map change (detailed-less detailed)
Title: Re: control remoto por bluetooh
Post by: Stager on March 01, 2018, 12:55:47 PM
Quote from: kerekjoe post_id=12958 time=1519891770 user_id=4831
the minimal features would be very useful on bikes and motorbikes!

-zoom in-out,

-move map to 4 directions,

-maybe: map change (detailed-less detailed)


For sailors too.

And, of course, turning off the touchscreen - in case of rain.
Title: Re: control remoto por bluetooh
Post by: Stager on March 03, 2018, 09:58:54 PM
I do not have so Android experience, but I mean that a end user may map hardware buttons to Android keys by edit a key layout file. On rooted device, of course. See this (//https), this (//https) and this (//http).

Zooming by a gamepad buttons in OruxMaps work for me.



Orux can assign specific actions to some Android keys, and documented it. Users can map hardware buttons on their devices to Android keys by themselves.



Now used VOLUME_UP and VOLUME_DOWN Android key codes - mapping it to gamepad knobs are works. Also is a "Trackball scroll" menu option - what Android axis it use?
Title: Re: control remoto por bluetooh
Post by: Stager on March 11, 2018, 12:10:50 PM
All, pls, see http://oruxmaps.com/foro/viewtopic.php?f=3&t=4836
Title: Re: control remoto por bluetooh
Post by: Stager on March 20, 2018, 02:08:45 PM
I bought this:

(//%3C/s%3E%3CLINK_TEXT%20text=%22https://ae01.alicdn.com/kf/HTB1WpLPRVXX%20...%20tphone.jpg%22%3Ehttps://ae01.alicdn.com/kf/HTB1WpLPRVXXXXXRXXXXq6xXFXXXi/Sovawin-035-Android-Gamepad-Joystick-Bluetooth-Remote-Controller-VR-Game-Pad-Wireless-Joypad-for-PC-Smartphone.jpg%3C/LINK_TEXT%3E%3Ce%3E) (//https)

This is a cheap plastic construction with dangling buttons and schizoid key defaults, but on mouse mode it works in OruxMaps satisfactorily: "out of the box" works a zoom and map shifting.

But as mouse it's a very bad.
Title: Re: control remoto por bluetooh
Post by: Stager on March 20, 2018, 02:43:53 PM
Quote from: Stager post_id=13095 time=1521551325 user_id=2645
I bought this:


Heh! It's real chinese device:

# cat /proc/bus/input/devices

...

I: Bus=0005 Vendor=0000 Product=0000 Version=0000

N: Name="VR-PARK"

P: Phys=

...



Also, the device has 4 buttons, not 6. Front buttons are same as "A" and "B".
Title: Re: control remoto por bluetooh
Post by: kerékjoe on January 12, 2021, 11:45:03 AM
I remember someone wrote about key remapping in orux sw but i can't find it ...

My question:

can I change the command-action logical line in orux?

eg Can I do it: the gamepad send key 24> orux zoom in 1 step

Thx any help!