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.
35 lines
562 B
35 lines
562 B
4 years ago
|
VERSION 1
|
||
|
NAME Keyboard Non Modifiers
|
||
|
|
||
|
KEYSWITCH A 2 1
|
||
|
KEYSWITCH S 2 2
|
||
|
KEYSWITCH LeftShift 3 7
|
||
|
|
||
|
RUN 10 ms
|
||
|
PRESS A
|
||
|
RUN 1 cycle
|
||
|
EXPECT keyboard-report Key_A # Report should contain only 'a'
|
||
|
|
||
|
RUN 25 ms
|
||
|
RELEASE A
|
||
|
|
||
|
EXPECT keyboard-report empty # Report should be empty
|
||
|
|
||
|
# TODO, this should be generate a second test stanza
|
||
|
# NAME Keyboard Modifiers
|
||
|
|
||
|
RUN 10 ms
|
||
|
PRESS LeftShift
|
||
|
|
||
|
RUN 1 cycle
|
||
|
EXPECT keyboard-report Key_LeftShift # Report should contain only `shift`
|
||
|
|
||
|
|
||
|
RUN 25 ms
|
||
|
RELEASE LeftShift
|
||
|
|
||
|
RUN 1 cycle
|
||
|
|
||
|
EXPECT keyboard-report empty # No keys should be pressed
|
||
|
|