Types a hyphen backwards at random times and won't stop till the keyboard is shut off.

I’m using with an iPad mini and keyboard was working fine till it was 8 months old. Now I haven’t been able to use the past 5 weeks since it randomly starts going backwards and has started doing this with in a few minutes of use.