I have severe carpal tunnel on both of my wrists, surgery is most likely needed. I went through a rabbit hole of egro mouse, keyboard, etc setups. I cannot stress enough that you want to keep your wrists leveled and minimize movement as much as possible.
Here is the secret sauce that I've found.
Keyboard:
A split keyboard is a game changer and you won't go back. With standard keyboards, you're always shrugging your shoulders and your wrists are cramped. With a split keyboard, you'll be able to keep your wrists leveled and you can adjust it however you want. The flexibility is nice. It takes a little bit to get used to. Fair warning if you don't know how to type properly, it will be harder to start. I use the tilt and it's perfect. Highly recommend.
Kinesis Edge - https://gaming.kinesis-ergo.com/edge/
Mouse:
Avoid trackpads. They aren't good for your wrists, it's all wrist movement. The vast majority of mice are also terrible. Since I program for a living, I use a trackball mouse (for work) and a vertical mouse (for gaming). Even when I'm not gaming, I use my trackball mouse. You have little to no wrist movement. With a vertical mouse, you'll be forced to move the mouse with your arm instead of your wrists. Takes a little bit to get used to.
Kensington SlimBlade Pro - https://www.amazon.com/gp/product/B0BLRQ4116/
Logitech MX Vertical - https://www.amazon.com/Logitech-Vertical-Wireless-Mouse-Rechargeable/dp/B07FNJB8TT/
Bracing:
Depending on how much pain you're in, you'll want to brace in different ways. Not all braces are the same.
Daily - Whenever I'm on the computer, this is what I use. It helps reduce my movement even more and feels nice when I'm having a bad pain day.
https://www.amazon.com/gp/product/B0CJJ4JR91/
https://www.amazon.com/gp/product/B0CNDBDZBW/
Sleeping - You would be surprised how much you move your wrists. If you have a bad night with how you position your wrists, it will suck very hard that day.
https://www.amazon.com/gp/product/B07BK53DH1/
https://www.amazon.com/gp/product/B07BK4J9MK/
Physical activity - You'll most likely be using your arms/wrists. It's important to brace so you don't turn it the wrong way and injury yourself.
https://www.amazon.com/gp/product/B0CD2M714B/
My case is extreme and the worst of the worst. You might not need to go this deep but this is what I've found to help me and reduce pain significantly.
Feel free to message on Steam if you need more info.