Results 1 to 8 of 8

Thread: RR with Joycom

  1. #1
    Newbie
    Join Date
    Apr 2010
    Posts
    29

    RR with Joycom

    hi, i am using RR and have just bought a joycom for the steering wheel controls,i have saved the switch values in the joycom and can assign them to keys but dont know how to assign the keys to RR.
    Thanks dave

  2. #2
    Constant Bitrate
    Join Date
    Mar 2010
    Posts
    160
    There is a KEYTBL.ini and EXECTBL.ini you can edit to get the Joycon to do what you want.

    Check an old thread of mine
    http://www.mp3car.com/road-runner/14...t-screens.html

    There's also an executable that you use to see what number the key sequence you want provides.
    I don't remember what it is right now but I think it's in your RideRunner directory. Search for *key*.exe

    Eidt:
    found it, KEYCODE.exe
    Last edited by davekra; 03-24-2012 at 08:53 PM.

  3. #3
    Newbie
    Join Date
    Apr 2010
    Posts
    29
    thank for the reply will start looking now...

  4. #4
    Newbie
    Join Date
    Apr 2010
    Posts
    29
    ok davekra found KEYCODE.exe and understand that..found both KEYTBL.ini and EXECTBL.ini..
    i have a few questions, where do you edit or save the commands
    thanks dave

  5. #5
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    The KeyTBL.ini associates key(s) with a RR cmd to execute when pressed. Depending on what cmd you call from the KeyTBL.ini file, you can have it translated into a string of more cmds or have it do different things on different screens all from the same cmd called from the keyTBL.ini Just follow the examples already in both of those files, save and start up RR. Fairly straight forward
    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."

  6. #6
    Constant Bitrate
    Join Date
    Mar 2010
    Posts
    160
    Yes, be sure to read the text at the beginning of the ini files and the documentation in the c:\program files\riderunner\Documentation folder.

    For me, I wanted a button to jump to next/previous artist so this is what I did:

    I assigned keys to press using the joycon software.
    Using keycode.exe I found that my button gave me 6078 and 6080.
    I put those numbers into keytbl.ini like this:
    Code:
    6078,"NEXT"
    6080,"PREV"
    Now, those NEXT and PREV are predefined skin commands, I wanted them to do something else when in the audio_browser.skin
    So, I put this in the exectbl.ini
    Code:
    "NEXT","DOWN||CLEARLIST||ADD1||UP||PLAY",audio_browser.skin
    "PREV","UP||CLEARLIST||ADD1||UP||PLAY",audio_browser.skin
    Now when I'm looking at the audio_browser.skin the NEXT executes "DOWN||CLEARLIST||ADD1||UP||PLAY"
    A single command can be used or like in my case multiple commands are separated by ||
    RR executes the commands in order from left to right.
    Read the 'skin commands.txt' for what commands are available.

    Hope that helps.
    davidk

  7. #7
    Newbie
    Join Date
    Apr 2010
    Posts
    29
    hi, sorry i just cant get my head around this...ok in the keycode.exe it shows the number for the key you press, thats all it shows, this is the number you use when righting the command. <KEYCODE>,"<COMMAND>",[skinfilename]
    firstly i am not sure where you save the command to when it has been wrote..

    this is my keycode.ini file

    /, This file defines the functions assigned for keyboard keys
    /, The format is simply: <KEYCODE>,"<COMMAND>",[skinfilename]
    /,
    /, Use the KeyCode tool to find the keycodes you wish to use.
    /, add * in front of code to register as gloabal key
    /, ctrl-f1:
    /, ex: *2112,"SkinTool"
    /,
    /, You can use Any SKIN COMMANDS here (Specially):
    /,
    /, CTRLLEFT = will highlight/select the previous control
    /, CTRLRIGHT = will highlight/select the next control
    /, CTRLUP = will move up on list or slider (when selected)
    /, CTRLDOWN = will move down on list or slider (when selected)
    /, CTRLEXEC = will execute the current/highlighted control
    /,
    /, The Lines Bellow are the standard "browsing" commands

    37,"CTRLLEFT"
    38,"CTRLUP"
    39,"CTRLRIGHT"
    40,"CTRLDOWN"
    13,"CTRLEXEC"

    /, The lines bellow are keys assigned to skin commands
    /, You can create as many as you wish.

    27,"CANCEL"
    33,"PGUP"
    34,"PGDOWN"
    2037,"RRPREV"
    2039,"RRNEXT"
    2070,"SEARCHLIST"
    145,"PLAY"
    116,"LOCATE||RELOADSKIN"
    117,"RELOADRR"


    2083,"SkinTool"
    *2112,"SkinTool"

  8. #8
    Constant Bitrate
    Join Date
    Mar 2010
    Posts
    160
    I don't think there's a keycode.ini. You must be referring to keytbl.ini. Please ensure you use the correct names for things.
    Just add your commands to the end of the file.

    keycode.exe does nothing but show you what numerical value is produced by your joycon button press.
    You need to use that number in keytbl.ini. You will also need to know what command you want executed and enter that after the number in keytbl.ini

    I may be behind the times using exectbl.ini to define what to do in a particular skin file. It sounds like it can all be done within keytbl.ini.

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
  •