My computer switches occassionally from english to french.

The keystroke I use to switch it back is SHFT+CTRL. That might work? Otherwise it probably doesn't have anything to do with your input device.