Alright, good thing that at least the cable is working. You can check if you have some kind of autoclicker or virtual joystick app installed, that might cause a conflict.
I see, well, I don't really have any other ideas, it's difficult to know. Since it worked before it seems it must be something that has changed on your device. Perhaps you can try to think if there was any specific point in time when it stopped working, and if there was any change made around that time.