Comments (9)
What is an error printed to console (please format it properly using ``` on each side of message and make sure it worked right using preview)?
from linuxmotehook.
When starting with Wii U Pro Controller connected:
Note: using individual calibration values
WiiMote successfully registered (MAC 0x************)
lua: /home/pika/Downloads/linuxmotehook/wiimote.lua:135: No such device
stack traceback:
[C]: in function 'assert'
/home/pika/Downloads/linuxmotehook/wiimote.lua:135: in field 'setup'
main.lua:104: in main chunk
[C]: in ?
When connecting after starting script:
Note: using individual calibration values
WiiMote successfully registered (MAC 0x************)
(main.lua:5462): Lgi-WARNING **: 11:16:41.308: Error raised while calling 'lgi.cbk (function: 0x55b0b8cd0860): GLib': /home/pika/Downloads/linuxmotehook/wiimote.lua:135: No such device
from linuxmotehook.
Hmm, interesting. Sadly, I think this is a problem with library I use for wiimote handling. Try replacing line 135 in wiimote.lua
assert(iface:open(wii.core | wii.accel))
with
iface:open(wii.core | wii.accel)
Does this help? It isn't a proper fix, but might work as workaround.
from linuxmotehook.
Yes it does work. It creates an additional useless motion source for the Pro Controller but it can still use the Wii Remote's one thanks!
from linuxmotehook.
Wow, that's weird. I probably should try to workaround this problem by handling open
failure as a warning instead. Can you, please, test my fix/workaround when I'll do it?
from linuxmotehook.
Ok, sure!
from linuxmotehook.
Please check out v0.2.1, it should work this bug around while not adding useless motion provider.
from linuxmotehook.
It does work properly. It just gives warnings, but still lets it connect properly. Thanks!
from linuxmotehook.
Yes, warnings are kept to avoid silencing actual errors. If so, I consider this issue resolved. Also, this bug is probably actually fixed in newer versions of libxwiimote, but I use system-wide one.
from linuxmotehook.
Related Issues (8)
- Can't make aiming profile HOT 31
- Problem launching in step 5 of the documentation - "Run main.lua in terminal" HOT 7
- Wiimote not recognised unless using direct input, gyro not working HOT 2
- Crash on recent GLib/libffi versions HOT 19
- lua5.3: ./autocalibrate.lua:43: bad argument #1 to 'format' HOT 2
- crash after starting yuzu emulator HOT 1
- bad argument HOT 4
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 linuxmotehook.