Create a script for your path, like so:
#!/bin/shxsendkeycode 66 1xsendkeycode 66 0
and install lineakd (which contains the xsendkeycode).
Leave a comment...