Never tried an ergonomic + mechanical keyboard so your mileage may vary. I will say that I feel the same thing on styluses pressing on hard screens, made ~10x worse with fingers on hard screens, fingers on touchpads, and fingers on low depth keyboards (a la mac keyboards). Something about the backpressure just makes the tendons inflamed lightning fast. Vertical mice did wonders for me though. Let me know if you find a better solution, keyboards and mice are mostly a solved problem for me, but hard glass screens and stiff buttons are still my Achilles heel so to speak.
Does your phone have haptic feedback? As in, it vibrates a bit when you type/press things. The main reason most people press too hard is because they want to make sure their press registers. With haptic feedback enabled it's easier to teach yourself to tap lighter on smartphones/tablets.