You could be banned for using a mouse macro you made in Razer Synapse, which is 3rd party software, but Razer Synapse itself is not banned. There is SOFTWARE for gaming mice and graphics cards from companies like Razer and Nvidia that can alter how you play games and give you an advantage.
I did not say anything about better hardware, I am talking about drivers. Stop strawmanning, you’re arguing against stuff I never said. Both of these hurt those playing the game. Someone who can not achieve the same result as someone else without the aid of a mouse macro is too lazy to better themselves. Someone who can not achieve the same results as someone else without the aid an aimbot is seeking to be lazy about it and not improve themselves. it’s not a matter of if, but when you get banned. That was also implemented into OSRS / RS2 and they have also sense gotten improved methods and detection. Ever sense the bot nuke in RuneScape 3 / bot watch. Both of these have no impact on other playing game. Ultimately: There’s no way of saying your undetected, or won’t get banned. Someone with a GTX 870 can do the same that someone with a GTX 2080ti can do (maybe they will be held back a bit, but I digress). Someone can do with a $10 mouse the same that someone with a $100 mouse can do. The line is drawn when it’s considered cheating, meaning it’s a performance that the player either can not perform themselves, or can perform but choose to seek the easy route doing it, thus it is an unfair advantage.