Announcement

Collapse
No announcement yet.

Problem with scrolling a list - UP/DOWN commands don't work

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

  • Problem with scrolling a list - UP/DOWN commands don't work

    I'm trying to get a Powermate working with RR - it's all going well apart from getting lists to scroll by turning the powermate knob.

    The system is setup so that all Powermate commands are sent to Girder, which then sends a command to RR, e.g. "LEFT1", "RIGHT1", "SINGLECLICK1" etc. These commands are listed in exectbl.ini, and interpreted individually for each skin, like this -

    "LEFT1","CTRLRIGHT",audio_player.skin
    "RIGHT1","CTRLLEFT",audio_player.skin

    In the "audio_browser.skin" skin, I want to be able to scroll my directory list up and down by turning the powermate left and right, which I thought would be a case of simply doing this in exectbl.ini -

    "LEFT1","UP",audio_browser.skin
    "RIGHT1","DOWN",audio_browser.skin

    However, the above doesn't work - RR just moves to the next/previous control on the screen, as if I was using "CTRLLEFT" and "CTRLRIGHT" commands. I've also tried PGUP/PGDDOWN, SETDL||UP, SETPL||UP, CTRLUP in exectbl.ini, but none of them scroll the directory list

    I'm using the standard brushed aluminium skin, and haven't modified the audio browser skin - am I doing something wrong, or have I missed a command? It's driving me nuts!

  • #2
    this should work, unless you have "generic" definitions for "LEFT1" and "RIGHT1" on your exectbl (before the one for the audio browser). please post your whole exectbl.ini ..
    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


    • #3
      I've posted my exectbl.ini below.

      The commands are adapted from the Powermate post in the Girder sticked thread, and I'm using the powermate RR.gml file from there as well. There are two sets of commands, which Girder can toggle between, hence the "LEFT1", "LEFT2" etc. I'm testing command set 1 at the moment.

      The "RIGHTDOWN1","BACK",audio_browser.skin and "LEFTDOWN1","BROWSE",audio_browser.skin commands do work in the audio browser, so RR is executing the correct set of commands for that skin.

      /, This (OPTIONAL) file contains translation commands.

      << I've cut out the comments that were here >>

      /, Video playback status.

      "QUIT","SendMsg;RRCDRip;showplugin||bye"
      "BYE","QUIT"

      /, Set Bellow the Path to the CDRip plugin (if used)
      "CDRIP","PLUGIN;RRCDRip;C:\Program Files\RoadRunner\CDRip\CDRip.exe"

      /, You can add commands to execute before suspend
      /, and after resume, using the codes bellow:

      "ONSUSPEND",""
      "ONRESUME",""
      "ONLINE",""
      "OFFLINE",""
      "ONFILECLICK",""
      "ONDIRCLICK",""
      "ONPLCLICK",""
      "ONDLCLICK",""
      "ONPBCLICK",""
      "ONPLSELCLICK",""
      "ONDLSELCLICK",""

      "TIMER","DAYGAMMA"

      /, OSK Gestures (Changes not recommended)
      "GEST-A","A",osk.skin
      "GEST-B","B",osk.skin
      "GEST-C","C",osk.skin
      "GEST-D","D",osk.skin
      "GEST-E","E",osk.skin
      "GEST-F","F",osk.skin
      "GEST-G","G",osk.skin
      "GEST-H","H",osk.skin
      "GEST-I","I",osk.skin
      "GEST-J","J",osk.skin
      "GEST-K","K",osk.skin
      "GEST-L","L",osk.skin
      "GEST-M","M",osk.skin
      "GEST-N","N",osk.skin
      "GEST-O","O",osk.skin
      "GEST-P","P",osk.skin
      "GEST-Q","Q",osk.skin
      "GEST-R","R",osk.skin
      "GEST-S","S",osk.skin
      "GEST-T","T",osk.skin
      "GEST-U","U",osk.skin
      "GEST-V","V",osk.skin
      "GEST-W","W",osk.skin
      "GEST-X","X",osk.skin
      "GEST-Y","Y",osk.skin
      "GEST-Z","Z",osk.skin

      /, Global Gestures
      "GEST-M","AUDIO"
      "GEST-X","EXIT"
      "GEST-H","MAIN"
      "GEST-L","LOAD;AUDIO_BROWSER.SKIN"

      /, Car2PC Interface Support
      "HUSTART","RESUME"
      "HUSTOP","PAUSE"
      "NT ","RRNEXT"
      "PT ","RRPREV"
      "PA ","PLAY"
      "FF 1","STARTFFWD"
      "FF 0","STOPFFWD"
      "FR 1","STARTFRWD"
      "FR 0","STOPFRWD"
      "DS 001","AUDIO"
      "DS 002","VIDEO"
      "DS 003","RADIO"
      "DS 004","XM"
      "DS 005","GPS"
      "DS 006","DVD"
      "MX 1","SHUFFLE"
      "MX 0","SHUFFLE"
      "RP 1","REPEAT"
      "RP 0","REPEAT"

      /, Powermate Commands

      "LEFT1","CTRLRIGHT",menu.skin
      "RIGHT1","CTRLLEFT",menu.skin
      "LEFTDOWN1","RRNEXT",menu.skin
      "RIGHTDOWN1","RRPREV",menu.skin
      "SINGLECLICK1","CTRLEXEC",menu.skin
      "DOUBLECLICK1","AUDIO",menu.skin
      "HOLD1","GPS",menu.skin
      "LONGHOLD1","DAYNIGHTSKIN",menu.skin

      "LEFT2","CTRLRIGHT",menu.skin
      "RIGHT2","CTRLLEFT",menu.skin
      "LEFTDOWN2","RRNEXT",menu.skin
      "RIGHTDOWN2","RRPREV",menu.skin
      "SINGLECLICK2","CTRLEXEC",menu.skin
      "DOUBLECLICK2","AUDIO",menu.skin
      "HOLD2","GPS",menu.skin
      "LONGHOLD2","DAYNIGHTSKIN",menu.skin

      "LEFT1","CTRLRIGHT",audio_player.skin
      "RIGHT1","CTRLLEFT",audio_player.skin
      "RIGHTDOWN1","RRPREV",audio_player.skin
      "LEFTDOWN1","RRNEXT",audio_player.skin
      "SINGLECLICK1","CTRLEXEC",audio_player.skin
      "DOUBLECLICK1","EXIT",audio_player.skin
      "HOLD1","LIST",audio_player.skin
      "LONGHOLD1","MAIN",audio_player.skin

      "LEFT2","SETPL||UP",audio_player.skin
      "RIGHT2","SETPL||DOWN",audio_player.skin
      "LEFTDOWN2","RRNEXT",audio_player.skin
      "RIGHTDOWN2","RRPREV",audio_player.skin
      "SINGLECLICK2","PLAY",audio_player.skin
      "DOUBLECLICK2","SETNEXT",audio_player.skin
      "HOLD2","GPS",audio_player.skin
      "LONGHOLD2","MAIN",audio_player.skin

      "LEFT1","UP",audio_browser.skin
      "RIGHT1","DOWN",audio_browser.skin
      "RIGHTDOWN1","BACK",audio_browser.skin
      "LEFTDOWN1","BROWSE",audio_browser.skin
      "SINGLECLICK1","ADD1",audio_browser.skin
      "DOUBLECLICK1","EXIT",audio_browser.skin
      "HOLD1","SELECT",audio_browser.skin
      "LONGHOLD1","MAIN",audio_browser.skin

      "LEFT2","CTRLRIGHT",audio_browser.skin
      "RIGHT2","CTRLLEFT",audio_browser.skin
      "LEFTDOWN2","RRNEXT",audio_browser.skin
      "RIGHTDOWN2","RRPREV",audio_browser.skin
      "SINGLECLICK2","CTRLEXEC",audio_browser.skin
      "DOUBLECLICK2","EXIT",audio_browser.skin
      "HOLD2","GPS",audio_browser.skin
      "LONGHOLD2","MAIN",audio_browser.skin

      "LEFT1","CTRLRIGHT"
      "RIGHT1","CTRLLEFT"
      "LEFTDOWN1","RRNEXT"
      "RIGHTDOWN1","RRPREV"
      "SINGLECLICK1","CTRLEXEC"
      "DOUBLECLICK1","EXIT"
      "HOLD1","AUDIO"
      "LONGHOLD1","GPS"

      "LEFT2","CTRLRIGHT"
      "RIGHT2","CTRLLEFT"
      "LEFTDOWN2","RRNEXT"
      "RIGHTDOWN2","RRPREV"
      "SINGLECLICK2","CTRLEXEC"
      "DOUBLECLICK2","EXIT"
      "HOLD2","AUDIO"
      "LONGHOLD2","GPS"

      Comment


      • #4
        this should work... have you tried placing buttons on the audio browser screen with the commands "LEFT1" and "RIGHT1" to verify they work ? I'm guessing girder is not sending the right commands or at least not to the right window. I'd delete the LEFT1 and RIGHT1 commands in girder, DUPLICATE a working command and change the command name and text to send to LEFT1 and RIGHT1... then it should work.
        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


        • #5
          You're spot on - for some reason Girder was sending the left/right arrow keys, rather than the sentence "LEFT1", "RIGHT1" for the PowerMate left and right events. This was confusing me, because it looked like the commands were working on every other screen, but that was because the left/right keys do the same as CTRLLEFT/CTRLRIGHT.

          I've amended the Girder setup to send a "LEFT1"/"RIGHT1" command for left and right events, and it's working beautifully - I shouldn't have assumed the .gml file was OK!

          Thanks for your help!

          Comment

          Working...
          X