Moving mouse causes p key to be "pressed"

Registration date
Monday July 24, 2017
Last seen
July 24, 2017

I have a Logitech G602 wireless mouse and G510s keyboard, whenever I move my mouse in any general direction towards right it causes the p key to be "pressed" (as in if I had the google search bar left clicked and ready to type in something but just moved my mouse around instead the search bar would be filled with "p"), I have no idea what could have caused this, I've never heard of a problem like this before. If the mouse isn't moving then the problem doesn't occur and moving my mouse with my keyboard unplugged stilll causes "p" to be inserted where ever I have selected.
Thank you for your time