There are cursor movement tools that use the keyboard--most obviously, the arrow keys. And at least in Windows, entire windows can be moved around or re-sized with the cursor. But it's also the case that there are keyboard remapping tools that allow you to re-map control keys (or other keys) to be cursor control keys as well; I've used a program like this written in C since the early days of Windows 3.1. (I had to make changes to it over time, but I'm using it as I type this in Windows 11.) I'm pretty sure there are similar keyboard remapping tools in Linux, and probably on Macs.
Also: there are re-mapping tools, and there are re-mapping tools. The simple ones allow a one-to-one mapping, e.g. Ctrl-M becomes PageDown. The simplest ones do not allow you to map e.g. Ctrl-D to seven Down arrows, nor do they allow moded mapping--e.g. having Ctrl-Q toggle between selecting and non-selecting cursor movement.
Also: there are re-mapping tools, and there are re-mapping tools. The simple ones allow a one-to-one mapping, e.g. Ctrl-M becomes PageDown. The simplest ones do not allow you to map e.g. Ctrl-D to seven Down arrows, nor do they allow moded mapping--e.g. having Ctrl-Q toggle between selecting and non-selecting cursor movement.