I have the very same problem with my 12.9 pro. I have tried a mouse as well but still doesn’t work properly. I like Stardew valley but get really ratty when it goes wrong. Hope it gets fixed soon.