Results 1 to 4 of 4

Thread: OSK creation help

  1. #1
    Variable Bitrate sargeants's Avatar
    Join Date
    Oct 2008
    Location
    Ontario, Canada
    Posts
    232

    OSK creation help

    Okay, so before I continue further with my idea I've gotta ask the question.

    Is it possible to get a single button to perform multiple key presses. I know it's possible to do different functions, but I'm not entirely sure how the 'K' command works.

    What I'm trying to do it limit the number of keys on the OSK, and then you just have to press and hold to get the alternate function.

    for example - having '2' as the initial press, and '@' as the press and hold

    Make any sense or should I just abandon the idea and put more buttons into the OSK?
    03 Hyundai Elantra GT {Worklog}
    HP TC4400; 250GB SATA, WiFi, BT, 12.1" touch
    RideRunner; w/ mobilephone.net, OBDMPG, mediaart, RRMedia, DFXVoice and more...
    cmdRR tall skin creator

    86 Pontiac Fiero SE 2m6
    possible carpc install

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    This works (I just tested it):

    Code:
    K56,678,430,059,078,009,050,050,"2",@@@
    Types a 2 on single click and a @ on press-and-hold (the two @ around the character on the tooltip indicate it's a press-and-hold command).

    Having said that, I think it's A LOT faster to press another key to switch the "mode" of the keys (i.e. SHIFT/CAPSLOCK), than press-and-hold the key to get the desired function. Furthermore, press-and-hold may be a lot harder on some touch-screens than you think -- specially while the car is MOVING.

    In that sense, you could use:
    Code:
    K56,678,430,059,078,009,050,064,"2","2"
    And the key will type 2 on standard presses and will type @ when you press shift BEFORE you press it, or when caps lock is set (Those are the SHIFT and CAPSLOCK OSK commands -- not on an actual keyboard). They will all be standard press of the buttons, no press-and-hold necessary.
    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
    Variable Bitrate sargeants's Avatar
    Join Date
    Oct 2008
    Location
    Ontario, Canada
    Posts
    232
    Okay - that does work well initially
    I'll give it a try and see how well it works for what I'm aiming at. I do hear ya on the holding while driving.... but how often do you need to use a special character while driving?

    If it doesn't work out I guess I could always just add another line or 2 for the other characters. Shift doesn't seem to work for the characters above the numbers.

    I guess my main concern was the 'line, ascii and code' portions of the K. I couldn't find any extra help on that.
    03 Hyundai Elantra GT {Worklog}
    HP TC4400; 250GB SATA, WiFi, BT, 12.1" touch
    RideRunner; w/ mobilephone.net, OBDMPG, mediaart, RRMedia, DFXVoice and more...
    cmdRR tall skin creator

    86 Pontiac Fiero SE 2m6
    possible carpc install

  4. #4
    Variable Bitrate sargeants's Avatar
    Join Date
    Oct 2008
    Location
    Ontario, Canada
    Posts
    232
    Quote Originally Posted by guino View Post
    This works (I just tested it):
    In that sense, you could use:
    Code:
    K56,678,430,059,078,009,050,064,"2","2"
    And the key will type 2 on standard presses and will type @ when you press shift BEFORE you press it, or when caps lock is set (Those are the SHIFT and CAPSLOCK OSK commands -- not on an actual keyboard). They will all be standard press of the buttons, no press-and-hold necessary.
    GOLDEN!!
    that will work much better me thinks

    Thanks Guino, you're amazing

    actually now I see differences in other skins, just wasn't shown with those keys - which I was looking at first.
    03 Hyundai Elantra GT {Worklog}
    HP TC4400; 250GB SATA, WiFi, BT, 12.1" touch
    RideRunner; w/ mobilephone.net, OBDMPG, mediaart, RRMedia, DFXVoice and more...
    cmdRR tall skin creator

    86 Pontiac Fiero SE 2m6
    possible carpc install

Similar Threads

  1. OSK And Web Commands
    By Madboy in forum Road Runner
    Replies: 5
    Last Post: 06-28-2009, 03:29 PM
  2. iGuidance Hacks
    By pbarrette in forum GPS
    Replies: 47
    Last Post: 12-28-2007, 03:06 PM
  3. OSK... need help/ideas..
    By guino in forum Road Runner
    Replies: 27
    Last Post: 06-25-2006, 07:49 PM
  4. OSK bug ????
    By tolisn in forum RR Bug Tracker
    Replies: 3
    Last Post: 03-31-2005, 11:25 AM
  5. OSK clobbers comm port?
    By wi77iam in forum Software & Software Development
    Replies: 7
    Last Post: 03-25-2004, 11:12 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
  •