im trying to map a rrfusion command into the keyTBL.ini but all variations i have tried so far wont work.
toggle buttons work fine with this command:
however momentary buttons wont work
key# ,"DIGITALOUT0;RELEASE &DIGITALOUT2;HOLD& "
i hope someone can help me out with the right syntax, format here...
that's just how the keyboard works anywhere -- pressing and holding a key will always repeat the same key. The recommendation is to assign a key to start and another to stop, so you'd do a simple press on the start key, then instead of holding it till the time to release it, you'd only press the other key to end it -- which is what you may be doing with the toggle thing (I don't know). Outside of that, a plugin could be made to monitor the press-and-hold of keys and generate events based on that, but it may not be simple to detect a key state (up/down) if you'll be sending other keys in between the press-and-hold (again don't know if that's needed).
I have something I thru together, but I cant check at work(ba$tards) so I'll check when I get home and post a solution if find its works as coded...
sweet.... and thx.
i can now control basic car functions from my phone with nokia wireless presenter which maps my phone keys to "simulate" keystrokes on the remote machine.
so the toggles, ie lights ignition etc. work fine. However Windows up Down for example would need to be momentary. There is a command that will keep the rrfusion relay on for a given time period but the problem here is that its +-1.5s which is not sufficient for window motors...
Here it is...
Put both files anywhere, both have to be in same dir. Program will only send cmds when:
#1 Program is running (If running old RoadRunner, change the name in the settings
#2 Program is in focus
If both are met when key is pressed will fire the first cmd, second when released. The two single cmds are seperated by a ";"m, just use the exectbl to translate to what ever you want done.
This will Accept: Key, Ctrl+key, Alt+key, Ctrl+Alt+key now!
Additional notes in the ini file.
Hope it works for you...
ok so correct syntax would be:
im asking because there is a ";" in the commands...
No, you can only use simple cmds, then use those to translate in the exectbl.
2103 = Ctlr + Numberpad 7
In app ini:
Ok, I've updated #6 post with newer version...
Added support for ctrl & alt key combo's
Reduced Mem usage while running ~800K!
There is an example in the ini file using the "d" key
I also updated the above post to use your orig example from first post.