LambdAurora / LambdaControls

A minecraft mod which adds better controls and controller support.
MIT License
67 stars 20 forks source link

Xbox controller imput detection not working on Manjaro Linux #38

Closed Fauli1221 closed 3 years ago

Fauli1221 commented 3 years ago

Describe the bug I cant use an Xbox controller on Manjaro Linux it detects it but cant use it (not tested with other controllers)

To Reproduce Steps to reproduce the behavior:

  1. Install Manjaro Linux
  2. install the xow driver for dongle support (optional) https://github.com/medusalix/xow
  3. Install Minecraft and all things to run the mod
  4. Start Minecraft and try to use the controller

Expected behavior It should detect controller inputs

Desktop (please complete the following information):

ImperatorStorm commented 3 years ago

Manjaro tends to be a somewhat broken OS

keep that in mind

Fauli1221 commented 3 years ago

it works perfect with other controller mods like Controllable

LambdAurora commented 3 years ago
  1. Have you set controller input to Controller
  2. When selecting the controller, does it show orange?
    • if it shows orange, have you made mappings for the controller and set them via the mappings editor string in LambdaControls?
Fauli1221 commented 3 years ago
  1. yes i did
  2. and it is white Screenshot_20201205_201805
LambdAurora commented 3 years ago

As long as the controller name is white like this, the only explanation I have is you try to use a wireless controller? And wireless controllers are currently broken on any Linux system because of GLFW, if you want it to work you might need to update the version of GLFW Minecraft use.

image

Fauli1221 commented 3 years ago

ok i looked in the wronk place thank you

Fauli1221 commented 3 years ago

it is orange

iTzSRTW commented 3 years ago

it is orange

Hey @LambdAurora, do you mind if I take this issue? It's gone unanswered and may be useful for future readers 🙂

@Fauli1221 I know it's been a couple of months since your last reply, if you're still having the same issue(s) can you try the following?

  1. Download, install, and run SDL2 Gamepad Tool as advised
  2. Test all buttons on the controller, the UI should appear green per the button pressed
  3. If buttons do not appear correct, click Create A New Mapping a. Run through the guided configuration b. Continue to step 4
  4. If all buttons are correctly mapped (i.e; all light up green) click Copy Mapping String a. Create a new file ~/.minecraft/config/gamecontrollerdb.txt and paste in the content you just copied b. Launch Minecraft

I am assuming the default Minecraft installation location and configuration, make changes where needed

LambdAurora commented 3 years ago

@srtw With latest versions of LambdaControls step 4 changed a bit, there's directly a file editor in LambdaControls to avoid confusion with the file.

iTzSRTW commented 3 years ago

@srtw With latest versions of LambdaControls step 4 changed a bit, there's directly a file editor in LambdaControls to avoid confusion with the file.

Ah, I was not aware of such editor. With v1.5.0 the in-game configuration still advises the use of the software and steps above, my mistake!

Fauli1221 commented 3 years ago

I figured it out myself that's why I closed the issue.

I probably should have made that more clear back then