Announcement

Collapse
No announcement yet.

OSK creation help

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

  • 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
    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."

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment

        Working...
        X