Hey everyone,
I was like everybody, ever since I got my Surface Pro 4 my pen always randomly double-click while I tried to use touch keyboard.
So after I tried to search through all the forums and reddit. I stumbled into this site:
http://www.lovemysurface.net/remap-the-surface-pen-button/
Basically it lets you re-calibrate your pen.
-Simply type "calibrate" into your search bar and choose "calibrate the screen for pen or touch input".
-Choose "Setup" to first reset your pen by clicking the screen when prompt one time, then press enter after that to return.
-Choose "Calibrate" and then "Pen input".
-Use the pen to tap on the cross-hair point at the corner of your screen (It's kinda hard to find, but just follow the line and you'll see them eventually.
-After you are done, choose "Save"
This basically solve the problem for me, so I hope this help the others who are looking for a solution as well :)
Pruk