Jump to content

SkySurveyBanner.jpg.21855908fce40597655603b6c9af720d.jpg

Connect game controller to SynScan android app?


Ags

Recommended Posts

  • 6 months later...

@Ags Just ran into this topic. It's been some time since you posted. Have you managed to do something with thits?

Found rather interesting single hand blue tooth version of gamepad. It is meant for VR glasses, but from what I've gathered - it works as BT controller in general:

https://www.aliexpress.com/item/1005003237891833.html?spm=a2g0o.search0304.0.0.42191afemJoSb5&algo_pvid=9bba19c3-a562-4dae-8b75-272969f787cc&algo_exp_id=9bba19c3-a562-4dae-8b75-272969f787cc-14

From what I've gathered - it should not be too difficult to write an app that takes input from one of these and connects to SynScan app on Android (iOS is a bit more difficult as two apps can't communicate via loopback adapter) to control it.

I'm going to give it a go in making such app unless you managed to make it work somehow?

  • Thanks 1
Link to comment
Share on other sites

On 06/11/2021 at 16:48, Ags said:

I have not made any progress on this, so I am interested to see if you make any progress.

Just to keep you up to date - I purchased mini Bluetooth game controller thingy for android phone - this one:

image.png.b72e87a65aab0fed0e8ff332847c5983.png

and paired it with my phone. It is very small controller - the size of thumb drive - maybe a bit bigger. It fits nicely in hand, but feel is rather plasticky (sure enough - it is plastic device). That thumb joystick bit is omni directional - but rather imprecise. Precise enough to be used as up/down/left/right control. I tried it with Gamepad testing app - and there it reports direction in fractions of 0-1 range. When moving left, right, up and down - that axis is always +/-1 but other has various values like 0.1-0.2 or sometimes very close to zero - like 0.005. When aiming for diagonal - both axis values get larger.

It pairs easily with phone (it came without instructions) - and I believe nothing special will be needed to command the mount - at least left/right/up/down - as it acts as keyboard arrow keys if in that mode (it has two modes - in one mode - joystick will emulate mouse - I think that "game" mode is one with arrow keys). This model has internal battery and charges via USB port (not sure which USB connection is that - but I had the cable that matched).

Will test it with mount and synscan app and let you know if its working.

 

Link to comment
Share on other sites

Small update again:

- it will not work out of the box, SynScan app is simply not configured to accept keyboard input in such way

- Bluetooth device can and will interfere with wifi. This caused me to change from hotspot to station mode (connect mount to my local wifi). When it was running as hot spot - BT device caused frequent disconnects of my mobile phone. Not sure why is that - but as far as I can see - it can happen due to interference between BT and Wifi.

Don't know if re-pairing of device will fix the issue (as suggested by net wisdom). For me it is not a deal breaker, but some might find it difficult to use device in the field (although reversing roles is always possibility - make your phone be AP and mount connect to it).

In the end - it will need to be external app for the time being to create bridge between the two. I'll look into writing one (it's been while since I did any android coding).

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.