#Send keys/mouse actions from time to time

1 messages · Page 1 of 1 (latest)

sick garnet
#

I'm using Ferris Sweep with nicenano! I tested a few layouts so far, but I don't feel very confident in programming this thing yet.

Would it be possible to send random key presses or mouse movements without any key presses? I'd like to fool a remote desktop that tends to log out too often. I connect via USB all the time - I never use Bluetooth. Could you point me in the right direction? I'd like ZMK to:

  • wait for a random time, shorter than t
  • send a random set of nonsense but UI-safe keypresses or mouse actions
  • repeat

It would be ok, if I had to press a key to trigger this loop and then press another one to turn if off. It would be also fine, if it happened all the time "in background".

grave wraith
#

Hi there, ZMK doesn't have such a behavior implemented right now. For now I'd recommend you get comfortable with existing functionality first.

If you are OK with programming and dealing with git, there is a PR that might be helpful, or you could look into programming your own behavior and you can get some pointers from here