You may want to take a look at
https://wiki.archlinux.org/index.php/Mo ... celeration especially the libinput and xset methods as those can be changed during runtime without the need to restart the X server.
libinput is also what nearly all frontends are using to expose those settings to the end user.
Although as I don't use GNOME, can't tell if they removed that setting, but honestly it wouldn't surprise me