Saanch / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

Instructions for compiling on mac #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I know, this is not really an "issue"...howeve,r its a large curiosity.

BTstack runs on iOS and will soon gain the iPega support for its joystick mode 
- which I'd really like to use on my Mac as well, since by default, the mac 
just outright ignores that device's input o.o...

Is it possible to run BTStack on a mac and utilize its functionality? ^^

Original issue reported on code.google.com by ingwie2...@googlemail.com on 30 May 2013 at 6:31

GoogleCodeExporter commented 9 years ago
fwiw, iPega support with Blutrol will be hacked into the iOS Bluetooth driver.

Compiling BTstack on the Mac is the easiest part: ./bootstrap && ./configure && 
make
You'd need to provide an external Bluetooth module and configure your OS 10.7+ 
to not use it.

If I pair iPega in iCade/Joystick/Mouse mode, it behaves as expected. in 
Joystick mode it maps the mouse pointer to the left analog control, which is 
very annoying as you cannot click anything anymore.

On OS X, you should be able to use the HID APIs to get the iPega input

Original comment by matthias@bluekitchen-gmbh.com on 30 May 2013 at 7:28

GoogleCodeExporter commented 9 years ago
Thanks for the nice response!

I dont know what "fwiw" really means, but I get the gist of that sentence...

Looks like its really easy, however, I don't know how I would provide a new 
module, and make my os use that instead of its native one - i am not that 
experienced in "hardware development" - or manipulation.

For me, the iPega works in iCade, Mouse and Keyboard mode - but doesn't do 
anything in Joystick mode. It gets recognized as a keyboard, and that's about 
it. I can't do anything with it.
Am 30.05.2013 um 21:29 schrieb btstack@googlecode.com:

Original comment by ingwie2...@googlemail.com on 30 May 2013 at 7:39

GoogleCodeExporter commented 9 years ago
fwiw = "for what it's worth"

I don't think you'd need a kernel module. You can access HID from a normal app. 
Check out Apple's examples for HID - don't know exactly which ones, but there 
was one that showed all HID input from all connected devices.

Original comment by matthias.ringwald@gmail.com on 1 Jun 2013 at 1:02

GoogleCodeExporter commented 9 years ago
Hi Matthias, I'm a big fan of your work. I have got ipega working very good in 
Joystick mode with Mac with HID software, but as you said left analog is acting 
as a mouse and is very annoying.

Do you have any idea how to disable this mouse function?

Regards

Original comment by antonioj...@gmail.com on 19 Jan 2014 at 3:25

GoogleCodeExporter commented 9 years ago
so, what about using Mouse mode then? :)
I don't know much about filtering HID on OS X.

Original comment by matthias.ringwald@gmail.com on 20 Jan 2014 at 1:33

GoogleCodeExporter commented 9 years ago
Hello everybody.

Could anyone post some quick instructions about how to make work this device 
(ipega bluetooth controller) with btstack?

Someone has mentioned that some HID (I guess human interface device) software 
is needed, something like "Joystick mapper"?

Thank you in advance :-D

Jero.

Original comment by josejeronimo on 13 Mar 2014 at 7:34

GoogleCodeExporter commented 9 years ago
does anybody here experienced what i experienced?

after i paired in any mode, my ipega 9025 just blinks, it says paired on the 
mac, but it wont get recognize on HIDs and it wont receive any input

Original comment by dummydum...@gmail.com on 21 Aug 2014 at 8:53

GoogleCodeExporter commented 9 years ago
i have the same issue with my ipega gamepad. macbook says paired but the ipega 
keeps blinking and turns off after a while.

Original comment by PhRe4...@gmail.com on 29 Aug 2014 at 11:57