I use that method described here:
autostart.sh should work, but it' be better to create a udev rule for that. Copy /utsr/lib/udev/rules.d/70-input-repeat.rules to /storage/.config/udev.rules.d, and then add this line at the end (all in a single line, after the LABEL="end" line):
CodeACTION=="add|change", KERNEL=="lirc*[0-9]", DRIVERS=="meson-ir", RUN+="/usr/bin/ir-ctl -d $devnode -t 50000"
so long,Hias
On that file (with the addition HiassofT suggests) you can tweak all 3 knobs.
The remote of my mecool m8s pro works good with delay=500, period=100 and -t 3500.
Haven't experiment a lot though, maybe you can achieve better response -- but there are no double presses at all.
Thanks HiassofT for your valuable contribution.