I wish to use analog controls with Minecraft: Java Edition, which doesn't natively support analog controls. A mod called MidnightControls adds this and controller support in general. It works great with all sorts of controllers, and i can just pair my Switch Pro Controller and it works out of the box. My Wooting keyboard does not.
My game is Minecraft 1.20.4, Fabric 0.15.11 and MidnightControls 1.9.4+1.20.4
I'm using the Wooting Two HE, with Wootility Lekker v4.6.20 and firmware v2.8.0 - these are the latest, as far as i can tell.
I'm also running on NixOS, which is a Linux distribution that is "quirky" in many ways. I'm using the Wootility package from my own fork of nixpkgs (with an open PR to merge it back into the master branch), with a Wayland compositor called niri. I don't believe the compositor is responsible for gamepad inputs (though it is responsible for keyboard and mouse), but that could be a factor in why it's not working.
This site (https://hardwaretester.com/gamepad) is able to recognize my Wooting keyboard just fine, and lists it as "Wooting Two HE (ARM)" with the "Classic Controller" gamepad mode. It shows up in MidnightControls under the same name. On the gamepad tester, it shows the left stick moving as i'd expect it to (bound to WASD, just as with the default profiles). In MidnightControls, despite being detected correctly.
If i use the "Xbox Controller" gamepad mode, the symptoms are identical except for the wooting controller being named "Generic X-Box Pad". It is still detected fine and input works in a gamepad tester.
I've also tried selecting the "Wooting Wooting Two HE (ARM) Consumer Control" device, which is consistent across both of the gamepad modes, so i can only assume this refers to the keyboard. I don't think selecting a controller in the "Controller Options" screen matters, as my Switch Pro Controller works fine when unselected; but even so, selecting any of the three mentioned Wooting-related devices makes no difference.