Hello
The [theta x, t,] key just put x repetitively, my idea is:
a tap x -> [x]
Double-click xx -> [y]
3 taps -> [z]
4 taps... -> [t]
5 taps... -> [theta]
Do you agree with this idea?
Better yet have the key put up a soft key menu: x, y, t, theta, n
I think I saw somewhere the idea proposed (change variable in each new keystroke), you know that calculator?
Here's a teaser from one of the projects that I've been working on... hopefully things will be ready for a public release soon. :-)
With user keys on, pressing XTTN in the manner you described will return x,y,z,t,θ (and shift-XTTN will return in caps).
Code:
EXPORT MultiTap(K,L1)
BEGIN
LOCAL Delay:=200;
LOCAL C:=0;
LOCAL P:=1;
LOCAL T:=0;
REPEAT
T:=TICKS;
WHILE ISKEYDOWN(K)==P DO
IF TICKS-Delay>T THEN
IF P==1 THEN
C:=C+1;
END;
BREAK 2;
END;
END;
IF P==1 THEN
C:=C+1;
END;
P:=ISKEYDOWN(K);
UNTIL 0;
RETURN IFTE(C≥1 AND C≤SIZE(L1), L1(C), L1(1));
END;
KEY K_Xttn()
BEGIN
LOCAL L1:={"x","y","z","t","θ"};
LOCAL K:=17;
RETURN MultiTap(K,L1);
END;
KEY KS_Xttn()
BEGIN
LOCAL L1:={"X","Y","Z","T","θ"};
LOCAL K:=17;
RETURN MultiTap(K,L1);
END;
Hello,
Nice idea!
Cyrille
thanks if is implemented in the next firmware