Results 1 to 5 of 5

Thread: Skin Guru's - Help needed

  1. #1
    Low Bitrate
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    106

    Skin Guru's - Help needed

    Hello all,

    I am currently developing a skin that uses gestures to emulate the flicking motion to switch screens, just like on today's smart phones. This part is done and my skin is almost complete, but I want to make an additional feature that I think would be cool.


    So my question is if it is possible to have the gesture be a variable?

    For instance instead of
    "NEXT",E

    I could put

    "NEXT",$GEST_NEXT$

    This is what I have done so far, but I haven't been successfull.

    In Gesture.ini
    "ESWIPE",$GEST_ESWIPE$
    "WSWIPE","$GEST_WSWIPE$
    "NEXT",$GEST_NEXT$
    "PREV",$GEST_PREV$

    Then in ExecTBL.ini
    "ACTIVATEAREA1","SETVAR;GEST_ESWIPE;E||SETVAR;WSWI PE;W||SETVAR;GEST_NEXT;= ||SETVAR;GEST_PREV;= "
    "ACTIVATEAREA2","SETVAR;GEST_ESWIPE;= ||SETVAR;WSWIPE;= ||SETVAR;GEST_NEXT;E||SETVAR;GEST_PREV;W"

    And in the skin i have two areas for gestures, and they are outlined by a label to activate two commands:
    L,0,100,800,400,,,,,"EXEC;ACTIVATEAREA1||= "
    L,0,500,800,100,,,,,"EXEC;ACTIVATEAREA2||= "

    So basically i want to have the gestures dynamically change based on which area of the screen is activated. Can this be done?

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Sounds like you want to switch the COMMAND executed by the same action.. to do this you should do the following:

    Same label codes should work, so just change:

    Gesture.ini:
    "$GEST_E$",E
    "$GEST_W$",W

    Then in ExecTBL.ini
    "ACTIVATEAREA1","SETVAR;GEST_E;ESWIPE||SETVAR;GEST _W;WSWIPE"
    "ACTIVATEAREA2","SETVAR;GEST_E;NEXT||SETVAR;GEST_W ;PREV"

    The only thing you have to worry is to set $GEST_E$ and $GEST_W$ on skin.ini or through ONSKINSTART before anything works (otherwise the variables will be empty and won't execute anything).
    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."

  3. #3
    Low Bitrate
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    106
    oh ok. I didn't know the commands could be variables, just the actions. Is that universal for all the ini files? That tidbit could be useful in the future.

    Thanks Guino

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Yes, anywhere you can enter a command code you can enter a variable and/or command/variable mix. Similarly, anywhere you can enter a label code, you can also use variables.
    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."

  5. #5
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Could have gave an example too G...

    Button commnd: "SETVAR;Pressed;2||MainButton$Pressed$"

    Will try to Execute the translated command: "MainButton2"

    This is the way the more advanced skins work, makes things harder to follow, but usually allows the skin author to use less screens by just using a lot of properly placed RR varibles.
    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."

Similar Threads

  1. Skin Editor [ v0.7.8 Updated 4/17/11 ]
    By Blue ZX3 in forum RR Skins
    Replies: 262
    Last Post: 01-30-2013, 05:47 PM
  2. Explantion needed about Skin commands
    By seninha in forum RR Skins
    Replies: 2
    Last Post: 03-12-2008, 03:17 PM
  3. Holux GPS Trouble
    By mangus580 in forum StreetDeck
    Replies: 34
    Last Post: 11-26-2007, 09:56 PM
  4. Beta testers for Sony FSR flash skin needed
    By moahdib in forum RR Skins
    Replies: 35
    Last Post: 03-19-2007, 01:15 PM
  5. electronic Guru's needed ...
    By felix99 in forum Power Supplies
    Replies: 15
    Last Post: 11-21-2002, 10:46 AM

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
  •