Kaleidoscope/tests/plugins/Qukeys/TapRepeat/test.ktest

132 lines
2.1 KiB

VERSION 1
KEYSWITCH A 0 0
KEYSWITCH B 0 1
KEYSWITCH J 1 0
# ==============================================================================
# Qukey tap-repeat test
NAME TapRepeat Generic Qukey
RUN 10 ms
PRESS A
RUN 5 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report Key_A # Report should contain only A
RUN 5 ms
PRESS A
RUN 5 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
EXPECT keyboard-report Key_A # Report should contain only A
RUN 15 ms
EXPECT keyboard-report empty # Report should be empty
RUN 100 ms
PRESS A
RUN 5 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report Key_A # Report should contain only A
RUN 5 ms
PRESS A
RUN 50 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
# ==============================================================================
# DualUse Qukey tap-repeat test
NAME TapRepeat DualUse Qukey
RUN 10 ms
PRESS J
RUN 5 ms
RELEASE J
RUN 1 cycle
EXPECT keyboard-report Key_J # Report should contain only J
RUN 5 ms
PRESS J
RUN 5 ms
RELEASE J
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
EXPECT keyboard-report Key_J # Report should contain only J
RUN 15 ms
EXPECT keyboard-report empty # Report should be empty
RUN 100 ms
PRESS J
RUN 5 ms
RELEASE J
RUN 1 cycle
EXPECT keyboard-report Key_J # Report should contain only J
RUN 5 ms
PRESS J
RUN 50 ms
RELEASE J
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
# ==============================================================================
# SpaceCadet Qukey tap-repeat test
NAME TapRepeat SpaceCadet Qukey
RUN 10 ms
PRESS B
RUN 5 ms
RELEASE B
RUN 1 cycle
EXPECT keyboard-report Key_B # Report should contain only B
RUN 5 ms
PRESS B
RUN 5 ms
RELEASE B
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
EXPECT keyboard-report Key_B # Report should contain only B
RUN 15 ms
EXPECT keyboard-report empty # Report should be empty
RUN 100 ms
PRESS B
RUN 5 ms
RELEASE B
RUN 1 cycle
EXPECT keyboard-report Key_B # Report should contain only B
RUN 5 ms
PRESS B
RUN 50 ms
RELEASE B
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty