If you say Ritalin, you mean the “normal” version without extended release, right? It is individual how many hours Concerta has an effect, but it’s roughly 7-10h.
How much mg of Ritalin do you take in 7-10h in total? That is roughly the dosage you need for Concerta.
I have a Keychron K3 Pro keyboard that can be programmed with VIA and I’m more than happy with it.
My mouse is a VAXEE Outset Wireless. This doesn’t need any software to change DPI / polling rate etc. All of it can be done by pressing buttons on the underside of the mouse. It works very reliably.