Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing the acceleration meter data and gyroscope #57

Open
Breckie1 opened this issue May 4, 2018 · 0 comments
Open

Accessing the acceleration meter data and gyroscope #57

Breckie1 opened this issue May 4, 2018 · 0 comments

Comments

@Breckie1
Copy link

Breckie1 commented May 4, 2018

I don't know if I am particularly dense or if learning how to program as a dyslexic was a bad idea but I want to access the angle of the controller, basically (pseudo code)
if(tilt to left)
{
do stuff
}
if (tilt to right)
{
do more stuff
}
if(tilt upwards)
{
do something else
}

if(pulled straight up)
{
jump
}

I have no idea how to access these values and I've been trying to read through the readme file but I still don't get it.
I have a Wii Motion Plus controller and a dolphin bar
this error keep showing up also:
HidAPI reports error -1 on write:
UnityEngine.Debug:LogError(Object)
WiimoteApi.WiimoteManager:SendThread() (at Assets/Wiimote/Scripts/WiimoteManager.cs:169)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant