isXander / Controlify

Another controller mod - for fabric!
https://www.isxander.dev/mods/controlify
GNU Lesser General Public License v3.0
138 stars 29 forks source link

[Bug] Controllers are detected but don't work in Windows 10 #161

Open Arenovas opened 1 year ago

Arenovas commented 1 year ago

Current Behaviour

Any controller I try and use with this mod get properly detected by the game but just don't work at all in the game. I have tried my 8bitdo SN30 Pro controller in all it's available modes, an Xbox 360 controller with it's wireless adapter, and a DS4 controller plugged into my PC and they're all detected but don't work at all.

Expected Behaviour

All of the controllers I use should just work, taking all the button and analog inputs.

Screenshots

No response

Reproduction Steps

  1. Have a controller connected.
  2. Start game and try to use controller

Logs

[22:58:12] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.14.22
[22:58:12] [main/INFO]: Loading 66 mods:
    - controlify 1.6.0+1.20
       |-- com_github_llamalad7_mixinextras 0.2.0-beta.9
       |-- dev_isxander_sdl2-jni 2.28.2-26
       |-- org_hid4java_hid4java 0.7.0
       \-- org_quiltmc_quilt-json5 1.0.3
    - fabric-api 0.87.0+1.20.1
       |-- fabric-api-base 0.4.30+7abfd51577
       |-- fabric-api-lookup-api-v1 1.6.35+4d8536c977
       |-- fabric-biome-api-v1 13.0.10+b3afc78b77
       |-- fabric-block-api-v1 1.0.9+e022e5d177
       |-- fabric-blockrenderlayer-v1 1.1.40+b3afc78b77
       |-- fabric-client-tags-api-v1 1.1.1+97bb207577
       |-- fabric-command-api-v1 1.2.33+f71b366f77
       |-- fabric-command-api-v2 2.2.12+b3afc78b77
       |-- fabric-commands-v0 0.2.50+df3654b377
       |-- fabric-containers-v0 0.1.63+df3654b377
       |-- fabric-content-registries-v0 4.0.9+b3afc78b77
       |-- fabric-convention-tags-v1 1.5.4+a1a980da77
       |-- fabric-crash-report-info-v1 0.2.18+aeb40ebe77
       |-- fabric-data-generation-api-v1 12.2.2+1e61dba177
       |-- fabric-dimensions-v1 2.1.53+8536527b77
       |-- fabric-entity-events-v1 1.5.22+b3afc78b77
       |-- fabric-events-interaction-v0 0.6.1+e91849a877
       |-- fabric-events-lifecycle-v0 0.2.62+df3654b377
       |-- fabric-game-rule-api-v1 1.0.38+b04edc7a77
       |-- fabric-item-api-v1 2.1.27+b3afc78b77
       |-- fabric-item-group-api-v1 4.0.10+23d9108177
       |-- fabric-key-binding-api-v1 1.0.36+fb8d95da77
       |-- fabric-keybindings-v0 0.2.34+df3654b377
       |-- fabric-lifecycle-events-v1 2.2.21+b3afc78b77
       |-- fabric-loot-api-v2 1.1.39+b3afc78b77
       |-- fabric-loot-tables-v1 1.1.43+9e7660c677
       |-- fabric-message-api-v1 5.1.7+3265161977
       |-- fabric-mining-level-api-v1 2.1.49+b3afc78b77
       |-- fabric-model-loading-api-v1 1.0.2+709a987177
       |-- fabric-models-v0 0.4.1+9386d8a777
       |-- fabric-networking-api-v1 1.3.10+eeb8eb3677
       |-- fabric-networking-v0 0.3.50+df3654b377
       |-- fabric-object-builder-api-v1 11.1.1+6beca84877
       |-- fabric-particles-v1 1.1.1+201a23a077
       |-- fabric-recipe-api-v1 1.0.20+b3afc78b77
       |-- fabric-registry-sync-v0 2.3.2+4df89eb277
       |-- fabric-renderer-api-v1 3.1.2+6bdb2ed077
       |-- fabric-renderer-indigo 1.4.2+6bdb2ed077
       |-- fabric-renderer-registries-v1 3.2.45+df3654b377
       |-- fabric-rendering-data-attachment-v1 0.3.34+b3afc78b77
       |-- fabric-rendering-fluids-v1 3.0.27+b3afc78b77
       |-- fabric-rendering-v0 1.1.48+df3654b377
       |-- fabric-rendering-v1 3.0.7+b3afc78b77
       |-- fabric-resource-conditions-api-v1 2.3.5+ea08f9d877
       |-- fabric-resource-loader-v0 0.11.9+132c48c177
       |-- fabric-screen-api-v1 2.0.7+b3afc78b77
       |-- fabric-screen-handler-api-v1 1.3.29+b3afc78b77
       |-- fabric-sound-api-v1 1.0.12+b3afc78b77
       |-- fabric-transfer-api-v1 3.3.0+cdf060b277
       \-- fabric-transitive-access-wideners-v1 4.3.0+6c31357e77
    - fabricloader 0.14.22
    - java 17
    - minecraft 1.20.1
    - yet_another_config_lib_v3 3.1.0+1.20
       |-- com_twelvemonkeys_common_common-image 3.10.0-SNAPSHOT
       |-- com_twelvemonkeys_common_common-io 3.10.0-SNAPSHOT
       |-- com_twelvemonkeys_common_common-lang 3.10.0-SNAPSHOT
       |-- com_twelvemonkeys_imageio_imageio-core 3.10.0-SNAPSHOT
       |-- com_twelvemonkeys_imageio_imageio-metadata 3.10.0-SNAPSHOT
       \-- com_twelvemonkeys_imageio_imageio-webp 3.10.0-SNAPSHOT
[22:58:12] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/Arenovas/Downloads/PrismLauncher/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[22:58:12] [main/INFO]: Compatibility level set to JAVA_17
[22:58:12] [main/WARN]: Error loading class: net/coderbot/iris/gui/element/widget/BaseOptionElementWidget (java.lang.ClassNotFoundException: net/coderbot/iris/gui/element/widget/BaseOptionElementWidget)
[22:58:12] [main/WARN]: @Mixin target net.coderbot.iris.gui.element.widget.BaseOptionElementWidget was not found controlify.mixins.json:compat.iris.BaseOptionElementWidgetMixin from mod controlify
[22:58:12] [main/WARN]: Error loading class: de/maxhenkel/voicechat/voice/client/KeyEvents (java.lang.ClassNotFoundException: de/maxhenkel/voicechat/voice/client/KeyEvents)
[22:58:12] [main/WARN]: Error loading class: de/maxhenkel/voicechat/voice/client/PTTKeyHandler (java.lang.ClassNotFoundException: de/maxhenkel/voicechat/voice/client/PTTKeyHandler)
[22:58:12] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/options/control/CyclingControl$CyclingControlElement (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/options/control/CyclingControl$CyclingControlElement)
[22:58:12] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/options/control/SliderControl$Button (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/options/control/SliderControl$Button)
[22:58:12] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/SodiumOptionsGUI (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/SodiumOptionsGUI)
[22:58:12] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/SodiumOptionsGUI (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/SodiumOptionsGUI)
[22:58:12] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/options/control/TickBoxControl$TickBoxControlElement (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/options/control/TickBoxControl$TickBoxControlElement)
[22:58:13] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal)
[22:58:18] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 141 milliseconds
[22:58:20] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[22:58:21] [Render thread/INFO]: Setting user: Arenovas
[22:58:21] [Render thread/INFO]: Pre-initializing Controlify...
[22:58:21] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[22:58:22] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[22:58:23] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric (controlify, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-tables-v1, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-networking-v0, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, yet_another_config_lib_v3)
[22:58:23] [Worker-Main-5/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading
[22:58:24] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[22:58:24] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[22:58:24] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (Realtek(R) Audio)
[22:58:24] [Render thread/INFO]: Sound engine started
[22:58:24] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[22:58:24] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[22:58:24] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[22:58:24] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[22:58:24] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[22:58:24] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[22:58:24] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[22:58:24] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[22:58:24] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[22:58:25] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[22:58:25] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[22:58:25] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[22:58:25] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[22:58:25] [Render thread/INFO]: Initializing Controlify...
[22:58:25] [Render thread/INFO]: Loading Controlify config...
[22:58:26] [Render thread/INFO]: Drivers in use: Basic Input = 'SDL2gp', Gyro = 'SDL2gp supported=false', Rumble = 'SDL2gp supported=false', Battery = 'SDL2gp', Name = 'GLFW Gamepad', GUID = 'SDL2gp'
[22:58:26] [Render thread/INFO]: Controller found: Dualshock 4 Controller
[22:58:26] [Render thread/INFO]: Saving Controlify config...
[22:58:46] [Render thread/INFO]: Stopping!

Mod Version

1.6.0+1.20

Controller

8BitDo SN30 Pro, DS4, Wireless Xbox 360

Bluetooth

Operating System

Windows

ARM

Additional Information

If I use 1.4.6+1.20, the controllers work as they should, but with 1.5.0+1.20 up to 1.7.0-beta.1+1.20, none of them work at all. There are 2 other issues mentioning controllers being detected but not working, however they're both on older versions than the one I'm reporting so I'm imagining it's its own issue.

Just to make sure...