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.
73 lines
1.2 KiB
73 lines
1.2 KiB
VERSION 1
|
|
|
|
KEYSWITCH MOVE_UP 0 0
|
|
KEYSWITCH MOVE_DOWN 0 1
|
|
KEYSWITCH MOVE_LEFT 0 2
|
|
KEYSWITCH MOVE_RIGHT 0 3
|
|
|
|
KEYSWITCH SCROLL_UP 1 0
|
|
KEYSWITCH SCROLL_DOWN 1 1
|
|
KEYSWITCH SCROLL_LEFT 1 2
|
|
KEYSWITCH SCROLL_RIGHT 1 3
|
|
|
|
KEYSWITCH BUTTON_L 2 0
|
|
KEYSWITCH BUTTON_M 2 1
|
|
KEYSWITCH BUTTON_R 2 2
|
|
|
|
# ==============================================================================
|
|
NAME MouseKeys move up
|
|
|
|
RUN 3 ms
|
|
PRESS MOVE_UP
|
|
RUN 1 cycle
|
|
|
|
RUN 15 ms
|
|
EXPECT mouse-report y=-1
|
|
RUN 1 cycle
|
|
EXPECT mouse-report empty
|
|
|
|
RUN 15 ms
|
|
EXPECT mouse-report y=-1
|
|
RUN 1 cycle
|
|
EXPECT mouse-report empty
|
|
|
|
RUN 5 ms
|
|
RELEASE MOVE_UP
|
|
RUN 1 cycle
|
|
EXPECT no mouse-report
|
|
|
|
RUN 5 ms
|
|
|
|
# ==============================================================================
|
|
NAME MouseKeys button left
|
|
|
|
RUN 4 ms
|
|
PRESS BUTTON_L
|
|
RUN 1 cycle
|
|
EXPECT mouse-report button=L
|
|
|
|
RUN 20 ms
|
|
RELEASE BUTTON_L
|
|
RUN 1 cycle
|
|
EXPECT mouse-report empty
|
|
|
|
RUN 5 ms
|
|
|
|
# ==============================================================================
|
|
NAME MouseKeys scroll down
|
|
|
|
RUN 4 ms
|
|
PRESS SCROLL_UP
|
|
RUN 1 cycle
|
|
EXPECT mouse-report v=1
|
|
|
|
RUN 50 ms
|
|
EXPECT mouse-report v=1
|
|
|
|
RUN 10 ms
|
|
RELEASE SCROLL_UP
|
|
RUN 1 cycle
|
|
EXPECT no mouse-report
|
|
|
|
RUN 5 ms
|