DavidPD / wjoy

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

wjoy support for accelerometer data? #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After lots of fiddling, it dawned on me that wjoy might not support 
accelerometer data from the wiimotes. I can receive button pushes just fine, 
but what I really need is the motion. Is that possible?

What version of the product are you using? On what operating system?
Latest version, 0.6, on Mac OSX 10.8.2

Original issue reported on code.google.com by kim.head...@gmail.com on 5 Mar 2013 at 4:59

GoogleCodeExporter commented 9 years ago
Yes, it's possible :) I plan it to 0.8 verstion (may be :) ). Internally WJoy 
support all wiimote sensors (accelerometers, cameras, it can play sound 
throught wiimote speaker :) ).

Original comment by alexandr.serkov on 5 Mar 2013 at 6:43

GoogleCodeExporter commented 9 years ago
Great news! I was looking for a way to change the default mode the wiimote 
sends out data, but I'm not nearly experienced enough to figure that out. 
Thanks for your great work on this, and looking forward to version 0.8. Let me 
know if I can help test or something. :)

Original comment by kim.head...@gmail.com on 5 Mar 2013 at 6:46

GoogleCodeExporter commented 9 years ago
Any headway on this? You make a comment that motionplus is supported in 
wiimote.framework...could I somehow use wiimote.framework along with 
controllermate in os X?  Great work, by the way, your driver is a savior!

Original comment by leefschr...@gmail.com on 18 Oct 2013 at 12:25

GoogleCodeExporter commented 9 years ago
Sorry, no :( Accelerometer works fine (and motion plus too), but 
Wiimote.framework - simple library (writed on Objective-C), what do all works 
in WJoy about interacting with Wiimote/Wii U Pro Controller.

Framework can be used in third-party applications (interface of 
Wiimote.framework is very simplest, i think), but for it developer need to do 
some work.

And yes, i think, what Wiimote.framework can be used with ControllerMate, but 
for it we need write some plugin/hack (ControllerMate dosn't support plugins :( 
). Sorry.

Original comment by alexandr.serkov on 18 Oct 2013 at 7:12

GoogleCodeExporter commented 9 years ago
Do you have any sample code for getting accelerometer data out of the Wiimote? 
The test app only seems to track button presses (I'm Obj-C literate, so all I 
need are a few pointers).

Original comment by rca...@gmail.com on 22 Apr 2014 at 9:42

GoogleCodeExporter commented 9 years ago
Yes, test.app doesn't handle accelerometer. Example of accelerometer use in 
svn: trunk/examples/WATest (with latest binary of Wiimote.framework).

Original comment by alexandr.serkov on 23 Apr 2014 at 8:14

GoogleCodeExporter commented 9 years ago
Thanks, I'll check that out.

Original comment by rca...@gmail.com on 23 Apr 2014 at 8:15

GoogleCodeExporter commented 9 years ago
And... I didn't test accelerometer too deep, if you find any bug - write to me, 
i'll fix it :)

Original comment by alexandr.serkov on 23 Apr 2014 at 8:18

GoogleCodeExporter commented 9 years ago
Well, first I need to try to get this to work with Unity, which might be 
tricky...

Original comment by rca...@gmail.com on 23 Apr 2014 at 8:19

GoogleCodeExporter commented 9 years ago
Good luck! But one note: wiimote.framework is not thread-safe, it can be used 
only from one thread (and, may be, only from main thread).

Original comment by alexandr.serkov on 23 Apr 2014 at 8:41