Controller does not work in games

In the editor, my controller left joystick only moves a blue frame which shows current focused editor window, though I have set a mapping in the “Input Mapping Context”. The keyboard mapping works though, but my controller does not. My controller has Platform User ID 2 and Input Device ID 2 while connecting to my PC, I do not have multiple controller connected to my PC but my keyboard is a kind of analog keyboard which allows it to analog a controller input even a joystick input, other games may recognize it as a gamepad/controller, I don’t know if that would be the cause of issue.

I found that if I unplug all of my input devices (all of my keyboards and my controller, and then plug in my controller first, then it works. Anyone has any clue?