Zel-os / MogaSerial

Mode A serial driver interface for Moga bluetooth controllers on Windows.
MIT License
98 stars 13 forks source link

MogaSerial - Support for the iOS Moga Rebel #1

Open ialexivy opened 8 years ago

ialexivy commented 8 years ago

Hi I'm using Moga pro and after connecting , MogaSerial constantly reconnects and doesn't work, I tried multiple PCs also win 7, win 10 with the same result.

Can you help ?

Thanks.

Zel-os commented 8 years ago

This would be difficult to answer without a lot more information. Does your Moga actually connect at all? As in, do the blue lights stop flashing for a moment?
If not, double-check the following things:

If a blue light goes solid but you still get no response,

Additionally, have you verified the Moga itself works? Can it connect to a phone and function properly?

ialexivy commented 8 years ago

Thanks for help,

First i have MOGA REBEL not MOGA Pro.

Bluetooth is enabled on the PC. YES Moga is switched to mode A. How to switch to Mode A? How can i know it's work in A mode? The Moga appears in the dropdown list when you click the orange refresh button in MogaSerial. YES The right device is selected in that dropdown. ("Moga Pro" or similar, but not HID) (Moga Rebel is selected in the dropdown)

Make sure some other device isn't grabbing the connection first. No other devices connected Make sure you're close enough to avoid radio interference. it's in front a PC Try clicking the Debug button, to see if any data is coming back from the controller at all. Nothing printed out when debug enabled only reconnecting..

Also Moga works fine with phone...

Any thoughts would be appreciated, thanks.

Zel-os commented 8 years ago

Oh, the Rebel. That makes a big difference. MogaSerial was written for the Android Moga Pro, Power Pro, and Hero models, with limited support for the Pocket as well. The Android versions of the controller all have a mode selection switch, but on the iOS versions that switch simply functions as on/off.

Unfortunately it also sounds like the Rebel and the Ace models are using a different communications protocol, which isn't too surprising since the Rebel won't work on Android and the Pro won't work on iPhones. Sadly, online information about how the Rebel connects seems to be scarce.

When the reconnect happens, does it just instantly fail and try to reconnect? Or does it stay connected for a few seconds with the first blue LED lit up? If it's the former, then MogaSerial cannot be made to work with the Rebel or the Ace models. If it's the latter, then they probably just use different codes and support could be added, although determining those codes might be tricky as I don't have access to a Rebel for testing.

Zel-os commented 8 years ago

I'd be happy to work on adding Rebel support to MogaSerial, I would just need someone who owns one to first verify that it's possible, then if so work with me to help determine the necessary device codes and to test it.