Zend certified PHP/Magento developer

Keypress from keyboard will override longpress from mouse (Ubuntu)

I recently adquired a M908 Redragon. I am using the following program to bind keys from my mouse to my keyboard.

In Ubuntu 20.04, if I bind a keymapping (such as Button1 of my mouse is a “Number1” keypress) and I open a Notepad and long-press that key, I should get “11111111111111111”. That is fine. Now if I long-press Button1 on my mouse in order to get “…1111” and then, after a while, I single stroke “a” in my keyboard (while I am still pressing Button1) I would get “…11111a”, the “1”s will stop. This is not what I want.

In Windows10, if I repeat this exact process, I would get “…11111a1111111…” and “1”s while keep appearing as long as I keep Button1 pressed, which means the mouse and keyboard are “independent” or something like that. This is the behavior I desire to replicate in Linux.

Any idea on how to achieve this?