Coder Social home page Coder Social logo

Comments (8)

benbaptist avatar benbaptist commented on June 25, 2024

Ah, I'm having the same issue. I'm running Fedora 15 64-bit, and I'm hoping to be able to play Minecraft with my classic controller.

According to wminput, I'm running "CWiid Version 0.6.00" which I grabbed off of Fedora's own repos (with the cwiid-wminput package).

I'll try grabbing the source code and compiling from that and report back if that fixes the bug (I don't know if 0.6.00 is the latest version or not).

from cwiid.

kuba-orlik avatar kuba-orlik commented on June 25, 2024

I'm also experiencing this issue - but for me whatever I do with the stick, it moves to the bottom right. :(

from cwiid.

benbaptist avatar benbaptist commented on June 25, 2024

I ended up just going with qjoypad - it's compatible with Wiimotes and Wiimote Classic controllers and has a nice GUI to work with. I don't know if cwiid is even maintained anywhere anymore - it's been over 4 or 5 years since any activity.

Also, you can use xboxdrv with a Wiimote Classic controller to override how the dpad and buttons control stuff by default, and to give more compatibility with games designed to work with Xbox controllers. Here's my command (it may or may not work for you)

sudo xboxdrv --dpad-as-button --evdev /dev/input/event$1 --evdev-absmap ABS_HAT1X=x1,ABS_HAT1Y=y1,ABS_HAT2X=x2,ABS_HAT2Y=y2,ABS_HAT3Y=LT,ABS_HAT3X=RT --evdev-keymap=BTN_A=A,BTN_B=B,BTN_X=X,BTN_Y=Y,KEY_PREVIOUS=Back,KEY_NEXT=Start,BTN_MODE=Guide,KEY_DOWN=DOWN,KEY_UP=UP,KEY_LEFT=LEFT,KEY_RIGHT=RIGHT,BTN_TL2=LB,BTN_TR2=RB --mimic-xpad

I just put that into a script named wiimote.sh and do sudo evtest to find the number of the "wiimote classic controller" (i.e. event26). Then, I do ./wiimote.sh 26 to tell it to use that. It works quite well for me, and then I can use qjoypad as well WITH this so that I can bind whatever buttons I want without any issues.

from cwiid.

kuba-orlik avatar kuba-orlik commented on June 25, 2024

Woah, I've never heard of qjoypad, I have to give it a try! Please tell me, how do you connect the wiimote to your PC in the first place?

from cwiid.

benbaptist avatar benbaptist commented on June 25, 2024

For me, it usually just pairs up out-of-the-box by just using the regular Bluetooth settings and pairing a device the same way I'd pair any other device. I'm on Xubuntu 14.04 right now, BTW, but it works great on Ubuntu 12.04, and Ubuntu GNOME 15.04.

from cwiid.

kuba-orlik avatar kuba-orlik commented on June 25, 2024

The default GNOME bluetooth manager always tries to pair with the wiimote, but I managed to connect my classic controller with blueman. Your solution with xboxdrv works splendidly, it works in all my games!
I owe you! :)

from cwiid.

benbaptist avatar benbaptist commented on June 25, 2024

Awesome!! Glad to hear it works. :D

from cwiid.

ctnlaring avatar ctnlaring commented on June 25, 2024

@benbaptist Qjoypad doesn't recognize any inputs for me. I connect the wiimote with gnome's bluetooth manager, get the number from evtest and run your wiimote.sh script but when I open qjoypad nothing works. I can connect with cwiid but get the bottom right corner issue

from cwiid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.