You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/tests/issues/980/test.ktest

70 lines
1021 B

VERSION 1
KEYSWITCH X 0 0
KEYSWITCH TD_0 1 0
KEYSWITCH LL_1 2 0
# ==============================================================================
NAME TapDance issue 980 no overlap
RUN 5 ms
PRESS TD_0
RUN 5 ms
RELEASE TD_0
RUN 10 ms
PRESS TD_0
RUN 5 ms
RELEASE TD_0
RUN 5 ms
PRESS X
RUN 2 cycles
EXPECT keyboard-report Key_Y # The key should be mapped from layer 1 (Y), not layer 0 (X)
RUN 5 ms
RELEASE X
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 5 ms
PRESS LL_1
RUN 1 cycle
RELEASE LL_1
RUN 1 cycle
# ==============================================================================
NAME TapDance issue 980 rollover
RUN 5 ms
PRESS TD_0
RUN 5 ms
RELEASE TD_0
RUN 10 ms
PRESS TD_0
RUN 5 ms
PRESS X
RUN 2 cycles
EXPECT keyboard-report Key_Y # The key should be mapped from layer 1 (Y), not layer 0 (X)
RUN 5 ms
RELEASE TD_0
RUN 5 ms
RELEASE X
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 5 ms
PRESS LL_1
RUN 1 cycle
RELEASE LL_1
RUN 1 cycle