Results 1 to 5 of 5

Thread: Remote like phone??? (manipulation)

  1. #1
    Join Date
    Aug 2010
    Posts
    1

    Question

    thanks!!!!
    Last edited by Ngoc Tan; May 6th, 2011 at 09:18 PM.

  2. #2
    Join Date
    Oct 2005
    Posts
    296

    Default

    Are you trying to type, or do you just want a command for a, a command for b, etc...?

  3. #3
    Join Date
    Oct 2005
    Posts
    296

    Default

    What do you want to do with the OUTPUT....

  4. #4
    Join Date
    Oct 2005
    Posts
    296

    Default

    If I was going to do it, I think I would have script actions for every remote key like (this is pseudo code not actual code):
    if key2down = false {
    key2down = true
    key2presses = 0
    timer to execute function in 1000ms
    }
    else {
    ++key2presses
    }
    function {
    key2down = false
    key2down = key2down modulus 4
    if key2presses= 0 {send 2}
    else if key2presses= 1 {send A}
    else if key2presses= 2 {send B}
    else if key2presses= 3 {send C}

    }
    Last edited by shaun5; August 19th, 2010 at 07:45 AM.

  5. #5
    Join Date
    Oct 2005
    Posts
    296

    Default

    Did my code not work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •