Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Skin, optimized for a KEYBOARD?

  1. #1
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    100

    Skin, optimized for a KEYBOARD?

    While I love a lot of the RR skins developed over the years, I'm having a tough time finding one that is optimized for a "non touchscreen" i.e. keyboard/hardware control based. The reason for that is that I intend to display my CarPC (and it's front end) on the stock screen in my BMW 740, and I intend to control it via the buttons already on the screen (via IBUS).

    Now, ordinarily this wouldn't be too much of an issue except for minor things like "highlighting" when a particular item has "focus". It doesn't mean it has been "pressed", it just means it has focus.

    For e.g. take a look at the following screenshot (inspired by the Simplistique skin...great skin btw).



    The idea is that when an item has "focus" (the MEDIA item for e.g. in the above picture), by either using the up/down/left/right keys in a typical keyboard (or in my case the control knob on the screen, translated to left/right keys), it can change visually.

    Can this be done easily? What would I need to change/add/modify in the .skin file(s) to support this?

    Thanks.

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Yes, there are basically a few commands you can use:

    "CTRLLEFT" - Selects/Highlight the Previous control on the screen
    "CTRLRIGHT" - Selects/Highlight the Next control on the screen
    "CTRLEXEC" - Executes the Selected/Highlight control on the screen
    "CTRLUP" - Increases the Selected/Highlight control on the screen (Slider/List only)
    "CTRLDOWN" - Decreases the Selected/Highlight control on the screen (Slider/List only)

    You can map 5 keys of the keyboard to these commands (keytbl.ini) and control everything on the screen. The only requirement is that the skin has "focus" images (ON Layer), or you won't see the objects highlight.
    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
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,585
    iDrive is set up to be keyboard controlled as well as touchscreen. [/shameless plug]

  4. #4
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    100
    Quote Originally Posted by Enforcer View Post
    iDrive is set up to be keyboard controlled as well as touchscreen. [/shameless plug]
    I saw that skin Enforcer, and while I love that skin as well, I'm finding that I'm probably gonna end up with some fairly unique requirements (like developing DSP screens that interface with my 1010lt cards, a library implementation for media etc) which will necessitate a new skin. I'd love not to spend time developing a new skin.. but I may not have a choice.

    How do you like the following look btw?


  5. #5
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    100
    Maybe this one?


  6. #6
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    100
    With logo....


  7. #7
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    100
    Quote Originally Posted by guino View Post
    Yes, there are basically a few commands you can use:

    "CTRLLEFT" - Selects/Highlight the Previous control on the screen
    "CTRLRIGHT" - Selects/Highlight the Next control on the screen
    "CTRLEXEC" - Executes the Selected/Highlight control on the screen
    "CTRLUP" - Increases the Selected/Highlight control on the screen (Slider/List only)
    "CTRLDOWN" - Decreases the Selected/Highlight control on the screen (Slider/List only)

    You can map 5 keys of the keyboard to these commands (keytbl.ini) and control everything on the screen. The only requirement is that the skin has "focus" images (ON Layer), or you won't see the objects highlight.
    Guino....this might just work... I did some test screens today, and I was able to get them to work with left/right keys. It'll be interesting to see if we face issues with a screen with multiple "complex" controls, like sliders in a DSP screen, with multiple menu items. We'll see.

  8. #8
    Newbie
    Join Date
    Feb 2010
    Posts
    5
    kapone, have you made any more progress on testing this? Just because I'm cheap and don't want to buy a touchscreen, (and I want to play with the electronics), I want to build a carpc with a custom control pad, etc. I'll play with guino's suggestion in my vm, but I was hoping to hear your results.

  9. #9
    Newbie
    Join Date
    Feb 2010
    Posts
    5
    Actually, the left, right, up, down, and enter keys are already configured in the keytbl.ini, (along with a few others I haven't bothered to determine yet)
    Code:
    /, This file defines the functions assigned for keyboard keys
    /, The format is simply: <KEYCODE>,"<COMMAND>"
    /,
    /, Use the KeyCode tool to find the keycodes you wish to use.
    /,
    /, 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"

  10. #10
    Newbie
    Join Date
    Feb 2010
    Posts
    5
    And I got a copy of iDrive 2.20 from you Enforcer, but I don't see how it's set up to work with the keyboard... am I missing something? The left/right arrow keys work on the main page, but not on, for instance, the music page...

Page 1 of 2 12 LastLast

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, 04:47 PM
  2. Digital FX 2.0 Transparent Released
    By JohnWPB in forum RR Skins No Longer Supported
    Replies: 3759
    Last Post: 03-07-2008, 12:23 PM
  3. TO ALL SKINNERS (read this)
    By jeep642 in forum RR Skins
    Replies: 11
    Last Post: 06-23-2007, 05:45 PM
  4. TO ALL SKINNERS (read this)
    By jeep642 in forum Road Runner
    Replies: 1
    Last Post: 05-01-2007, 11:23 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
  •