Announcement

Collapse
No announcement yet.

how to put rrrufsion momentary button in keyTBL.ini

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

    Comment


    • #3
      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."

      Comment


      • #4
        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."

        Comment


        • #5
          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...

          Comment


          • #6
            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
            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."

            Comment


            • #7
              ok so correct syntax would be:

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

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

              Comment


              • #8
                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."

                Comment


                • #9
                  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."

                  Comment


                  • #10
                    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

                    Comment

                    Working...
                    X