Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>pull/1024/head
parent
c1e64d0a60
commit
78ec964b09
@ -1,51 +1,47 @@
|
||||
VERSION 1
|
||||
|
||||
KEYSWITCH A 0 0
|
||||
KEYSWITCH LAYER_SHIFT 1 0
|
||||
KEYSWITCH L_1 1 0
|
||||
|
||||
# ==============================================================================
|
||||
# Keyboard state array
|
||||
NAME Keyboard state array cleared
|
||||
|
||||
RUN 10 ms
|
||||
|
||||
RUN 4 ms
|
||||
PRESS A
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report Key_A # Report should contain only `A`
|
||||
|
||||
RUN 5 ms
|
||||
|
||||
RUN 4 ms
|
||||
RELEASE A
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report empty # Report should be empty
|
||||
|
||||
RUN 5 ms
|
||||
|
||||
# Press and hold `ShiftToLayer(1)`, changing the `A` key to `X`
|
||||
PRESS LAYER_SHIFT
|
||||
RUN 5 ms
|
||||
PRESS L_1
|
||||
|
||||
RUN 4 ms
|
||||
PRESS A
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report Key_Y # Report should contain only `Y`
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report empty # Report should be empty
|
||||
|
||||
RUN 5 ms
|
||||
RELEASE L_1
|
||||
|
||||
RUN 4 ms
|
||||
RELEASE A
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report empty # Report should be empty
|
||||
|
||||
RUN 5 ms
|
||||
|
||||
RELEASE LAYER_SHIFT
|
||||
RUN 5 ms
|
||||
|
||||
RUN 4 ms
|
||||
PRESS A
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report Key_A # Report should contain only `A`
|
||||
|
||||
RUN 5 ms
|
||||
|
||||
RUN 4 ms
|
||||
RELEASE A
|
||||
RUN 1 cycle
|
||||
EXPECT keyboard-report empty # Report should be empty
|
||||
|
||||
RUN 5 ms
|
||||
|
Loading…
Reference in new issue