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

63 lines
903 B

VERSION 1
KEYSWITCH OSM 0 0
KEYSWITCH A 1 0
KEYSWITCH B 1 1
KEYSWITCH ESC 2 0
# ==============================================================================
NAME Escape OneShot modifier
RUN 4 ms
PRESS OSM
RUN 1 cycle
EXPECT keyboard-report Key_LeftShift # report: { e1 }
RUN 4 ms
RELEASE OSM
RUN 1 cycle
RUN 4 ms
PRESS ESC
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
RUN 4 ms
RELEASE ESC
RUN 1 cycle
RUN 5 ms
# ==============================================================================
NAME Escape sticky OneShot modifier
RUN 4 ms
PRESS OSM
RUN 1 cycle
EXPECT keyboard-report Key_LeftShift # report: { e1 }
RUN 4 ms
RELEASE OSM
RUN 1 cycle
RUN 4 ms
PRESS OSM
RUN 1 cycle
RUN 4 ms
RELEASE OSM
RUN 1 cycle
RUN 5000 ms
RUN 4 ms
PRESS ESC
RUN 1 cycle
EXPECT keyboard-report empty # Report should be empty
RUN 4 ms
RELEASE ESC
RUN 1 cycle
RUN 5 ms