Hey, wanted to know if it’s possible to get something that would spam a keyboard button inside an app (not on chrome) and not just autoclick, for example spamming the R key in milliseconds for indefinitely

  • You can have ChromeOS send a fake input signal using

    dbus-send --system --type=method_call \
            --dest=org.chromium.PowerManager \
            /org/chromium/PowerManager \
            org.chromium.PowerManager.HandleUserActivity int32:0 int32:0
    

    This requires developer mode and running it in crosh. You can have a script periodically run this on its own in whatever interval you want too.