List of keys or a part of list accord the time the key was pressed
Posted: 24 May 2020, 01:22
I would like a code that when I held the "x" key , according to the time I held it, performed a different action. For example:
Just click the x: type "a"
Hold x for 30 ms: type "a" as soon as pressed and "b" as soon as 30 ms
Hold x for 60 ms: type "a" as soon as pressed; "b" as soon as it gives 30 ms; and type "c" as soon as 60 ms
Just click the x: type "a"
Hold x for 30 ms: type "a" as soon as pressed and "b" as soon as 30 ms
Hold x for 60 ms: type "a" as soon as pressed; "b" as soon as it gives 30 ms; and type "c" as soon as 60 ms