Additional note for SAMMI users:
I also had the inverse issue of simulated button presses in SAMMI not being picked up. To work around that, I ended up putting the xdotool command into a shell script after all and having SAMMI run that with a command: start /unix /bin/bash /home/foo/bar.sh