About 2 years ago I bought a Lenovo laptop that came with a standard pen and a holder that goes into the USB port. It worked great for storing but the upper hole was too small to fit the pen and hold it upwards when actually using it. Since I got my 3D printer I decided to make it in Fusion 360 and there it is.
I printed this model in PLA as it's the only material I have on hand but I think a flexible filament would work even better.
The side hole for storing the pen is not large enough to fit the buttons through so don't try to push it too far. Personally I don't want the pen pushed that far anyway so having it this way ensures it won't fall out when moving the laptop around. You may try to use some sandpaper to enlarge it or just add a negative volume modifier in your slicer.
Print instructions:
No supports required. Print it with the side hole facing up for more strength at the corner.
I used 15% infill with gyroid pattern but using 100% infill may work even better.
The author marked this model as their own original creation.