Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

correspondence between setTimeRate and keys

Feedback
Ross
2012-06-29
2012-10-09
  • Ross
    Ross
    2012-06-29

    Hi all,
    I'm try to find any correspondence between the "L" and the "J" keys on the
    keyboard and the correct value to put in the

    core.setTimeRate(VALUE);
    

    For example, every time I press "L" which value I have to put?

    And for the SHIFT + "L", which value correponds to?

    Thanks in advance!

     
  • Ross
    Ross
    2012-06-29

    I guess I found:
    10 times for every keystroke of "L" or "J"
    and
    2 and 4 times for SHIFT+L or SHIFT+J. So 5 clicks of SHIFT+L can be converted
    in

    core.setTimeRate(10*4);
    

    10*4 times (because three clicks of SHIFT+L/J correspond to 1 click of L/J. In
    other words:
    5 x SHIFT+L = 3 x L + 2 x SHIFT+L = 10 times for the first one, 4 times for
    the second one.

     
  • Ross
    Ross
    2012-06-29

    Sorry, the correct equivalence is:

    5 x "SHIFT+L" = 1 x "L" + 2 x "SHIFT+L" = 10 times for the first one, 4 times
    for the second one.

    Another example: 7 SHIFT+L means:

    7 x "SHIFT+L" = 2 x "L" + 1 x "SHIFT+L" = 100 times for the first one (10^2),
    and 2 times for the second one:

    core.setTimeRate(10*10*2);
    
     


Anonymous


Cancel   Add attachments