TBM 930 landing gear not retracting

Enjoying flying this great modified a/c I have encountered what is most probably a terrible pilot’s error but I am unable to solve it nor to find a hint in the forums.

After take off I cannot retract the landing gear. The handle jumps back to the down position every time I move it.

Your help is appreciated.

Do you have a controller or hardware? I could see the gear being set to a hardware switch that is always sending the ‘down’ signal to the sim regardless of what you do in the virtual cockpit.
Try looking over your key/hardware bindings

Thank you, got your point and will check it again.

You put me on the right track, thanks for that FlyingCookie650. I found a double entry in the FSUIPC.ini file.