Comments (13)
+1 to this.
from cwiid.
I tried to build this on a Pi recently and got nowhere. If anyone manages it can they post the instructions here? We can see if it's possible to build for Python 3, and if not we can try to work out the problem.
from cwiid.
Ben, I meant to try this at the weekend but run out of time. However I looked through my notes and it appears I did not install via this repo, i used
sudo apt-get install python-cwiid
Using this guide http://www.raspberrypi-spy.co.uk/2013/02/nintendo-wii-remote-python-and-the-raspberry-pi/
We did use this repo for PiWars 2014 and 2015, But using C++ rather than Python, there was a fix that had to be applied, I will try and find out what it was.
from cwiid.
Sorry if I was unclear. I'm not saying I failed to use the library at all. I've been using the packaged Python 2 version in my projects.
My comment above was referring to trying to build it from source to see if I could get a Python 3 version working as well.
from cwiid.
Ben, see the readme on our Tractobot 2014 repo https://github.com/ipswichmakerspace/TractorBot/tree/master/software
A file had to be edited or a different repo used.
We have not tried this for a while since it got added into the distro packages, so this might not be the issue you are having.
from cwiid.
i'd love this, can you port it over or is that too complicated?
from cwiid.
I've ported the library for python3 here https://github.com/azzra/python3-wiimote
As I'm not a C developer, I just ported the python extension and left the library unchanged.
I did remove wmgui, wminput, lswm, wmdemo too, that's why I didn't make a PR here.
from cwiid.
Awesome!! Can you publish on PyPI? Let me know if you need help.
from cwiid.
Here you go https://pypi.python.org/pypi/cwiid
from cwiid.
👍
from cwiid.
I tried to build on piwheels but it failed due to the dependency of cwiid.h
. See output here: http://piwheels.bennuttall.com/cwiid/
I haven't worked out how best to deal with build dependencies yet.
from cwiid.
Download and built cwiid from the git responsitory and it shouldn't have the cwiid.h error. Repo:https://github.com/azzra/python3-wiimote
from cwiid.
Sorry for waking up this ancient thread... I managed to build cwiid, but python failed to find the module cwiid, neither with python3 nor with Thonny. Any more setup is needed?
from cwiid.
Related Issues (20)
- Can't connect (invalid/unknown type)
- diffrent nunchuck issues HOT 1
- Feature Request: Raw Data Reporting in Python
- Wii drums support HOT 1
- domain dead
- [Q] suspicious chinese wiimote clone HOT 2
- What about Wii Motion Plus ? HOT 1
- Unable to control mouse whatsoever
- Unable to install cwiid onto my lego ev3dev robot HOT 3
- Absolute ir mouse doesn't work with xf86-input-libinput
- Suggestion: expose address in Python interface
- Communications from nunchuk connected to wiimote yield, "Received unexpected write report" HOT 1
- Documentation addition needed to man page for libcwiid
- Duplicate table entries on output with wm.state with expanded rpt_mode
- man page updates
- An improper locking bug on the lock wiimote->rpt_mutex HOT 1
- Download issue HOT 1
- Support HID wiimotes (Mayflash Dolphinbar)
- wminput bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cwiid.