Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max macro length? #881

Open
Aycros opened this issue Apr 28, 2024 · 0 comments
Open

Max macro length? #881

Aycros opened this issue Apr 28, 2024 · 0 comments

Comments

@Aycros
Copy link

Aycros commented Apr 28, 2024

Hello there!
I have a very long macro, which is a bit over 1000 lines long and ~3min play time. In the program, it gives the error "unsupported callable". But if I delete the last few lines to shorten it to around ~960, it works. If I then put in the script I just shortened into another macro and play it, it also works flawlessly. I've tried this with other, similarly long macros, and got the same result. Though I couldn't find a specified limit in the docs. Is there a limit like that for macros? And if so, why? Is it possible to remove it somehow?

Share some logs please:

  1. input-remapper-control --version
    input-remapper 2.0.1 f5151aa https://github.com/sezanzeb/input-remapper
    python-evdev 1.7.0

  2. which linux distro (ubuntu 20.04, manjaro, etc.)
    Garuda Linux

  3. echo $XDG_SESSION_TYPE
    x11

  4. which desktop environment (gnome, plasma, xfce4, etc.)
    KDE

  5. sudo ls -l /proc/1/exe
    lrwxrwxrwx 1 root root 0 28. Apr 17:39 /proc/1/exe -> /usr/lib/systemd/systemd

  6. paste the affected preset .json file from ~/.config/input-remapper-2/presets
    new preset 3.json

  7. sudo pkill -f input-remapper-service && input-remapper-gtk -d, apply the preset and hit your key. Then share that log.
    pkill input-remapper odt.odt

  8. sudo evtest while the previous command is running, to see how events are injected. Devices starting with input-remapper ... are of interest.

Didn't work for me^^'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant