I'm trying to emulate mouse movements and actions with keyboard, and I succeeded in remapping everything (e.g.: hjkl to movements), with xkb
(in particular using xkbset -m
) and xmodmap
.
The problem is that buttons are usually pressed one at a time, while I expect to be able to move simultaneously left and up with the mouse.
With xmodmap
only seems not to be possible (at the end is only remapping one key on another key), so how can I do in order to move left-up while I am holding h-k simultaneously?