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/896/test.ktest

62 lines
1004 B

VERSION 1
KEYSWITCH OSL_1 0 0
KEYSWITCH A 1 0
KEYSWITCH B 1 1
# ==============================================================================
NAME OneShot next key
RUN 5 ms
PRESS OSL_1
RUN 5 ms
RELEASE OSL_1
RUN 10 ms
PRESS A
RUN 1 cycle
EXPECT keyboard-report Key_C # There should be only `C`
RUN 5 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
# ==============================================================================
NAME OneShot double tap layer 896
RUN 5 ms
PRESS OSL_1
RUN 5 ms
RELEASE OSL_1
RUN 5 ms
PRESS OSL_1
RUN 5 ms
RELEASE OSL_1
RUN 50 ms
PRESS A
RUN 1 cycle
EXPECT keyboard-report Key_C # There should be only `C`
RUN 5 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
RUN 10 ms
PRESS A
RUN 1 cycle
EXPECT keyboard-report Key_C # There should be only `C`
RUN 5 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
RUN 5 ms
PRESS OSL_1
RUN 5 ms
RELEASE OSL_1
RUN 1 cycle