Results 1 to 10 of 10

Thread: how to put rrrufsion momentary button in keyTBL.ini

  1. #1
    Constant Bitrate
    Join Date
    Jan 2007
    Posts
    126

    how to put rrrufsion momentary button in keyTBL.ini

    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:

    key#,"DIGITALOUT0;TOGGLE",

    however momentary buttons wont work

    key# ,"DIGITALOUT0;RELEASE &DIGITALOUT2;HOLD& "

    i hope someone can help me out with the right syntax, format here...
    thx!

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,046
    Blog Entries
    41
    Quote Originally Posted by sgtpepperaut View Post
    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:

    key#,"DIGITALOUT0;TOGGLE",

    however momentary buttons wont work

    key# ,"DIGITALOUT0;RELEASE &DIGITALOUT2;HOLD& "

    i hope someone can help me out with the right syntax, format here...
    thx!
    thats not going to work. i dont believe any HOLD function can be assigned to a key. Its an RR limitation... because holding down a key actually fires the key over and over again instead of a hold/release that RR needs to see.
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,814
    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).
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  4. #4
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,077
    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...

    Stay Tuned....
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  5. #5
    Constant Bitrate
    Join Date
    Jan 2007
    Posts
    126
    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...

  6. #6
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,077
    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...
    Attached Files Attached Files
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  7. #7
    Constant Bitrate
    Join Date
    Jan 2007
    Posts
    126
    ok so correct syntax would be:

    2103="DIGITALOUT13;RELEASE";"DIGITALOUT13;HOLD"

    im asking because there is a ";" in the commands...

  8. #8
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,077
    No, you can only use simple cmds, then use those to translate in the exectbl.

    so...

    2103 = Ctlr + Numberpad 7

    In app ini:
    2103=RRFB_0_ON;RRFB_0_OFF


    in Exectbl
    "RRFB_0_ON","BYIND;DIGITALOUT0STATUS;DIGITALOUT0;T OGGLE<<"
    "RRFB_0_OFF","BYIND;DIGITALOUT0STATUS;<<DIGITALOUT 0;TOGGLE"

    .
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  9. #9
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,077
    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.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  10. #10
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,417
    Quote Originally Posted by Blue ZX3 View Post
    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.
    I love, and i see what i can to with !!!!


    Thanks

Similar Threads

  1. Replies: 5
    Last Post: 03-06-2009, 04:15 PM
  2. Some thoughts on front end UI
    By NSFW in forum Software & Software Development
    Replies: 4
    Last Post: 09-10-2008, 06:47 PM
  3. Change Log
    By iamgnat in forum CarFrontEnd
    Replies: 12
    Last Post: 03-19-2008, 10:33 PM
  4. LSX (VOID) released
    By liquid_smoke in forum RR Skins No Longer Supported
    Replies: 1302
    Last Post: 03-01-2007, 10:43 PM
  5. Button request: Minimize
    By DaveB in forum Mobile Impact
    Replies: 17
    Last Post: 01-04-2007, 08:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •