add readme to mercury test explaining run procedure

This commit is contained in:
Jamie Ding 2022-03-19 23:07:24 +00:00
parent 7557ce2fe2
commit 46954cc99f
2 changed files with 29 additions and 4 deletions

View file

@ -0,0 +1,25 @@
To run tests:
1. Update native_posix.overlay. Default configuration is 2 rows, 2 columns. Mercury needs 4 rows and 12 colums.
DEFAULT:
kscan: kscan {
compatible = "zmk,kscan-mock";
label = "KSCAN_MOCK";
rows = <2>;
columns = <2>;
exit-after;
};
==> MODIFIED:
kscan: kscan {
compatible = "zmk,kscan-mock";
label = "KSCAN_MOCK";
rows = <4>;
columns = <12>;
exit-after;
};
2. run the below:
cd /workspaces/zmk/app/tests; clear; west test tests/mercury/sdDn_dUp;

View file

@ -1,6 +1,6 @@
s/.*mo_keymap_binding/mo/p
s/.*hid_listener_keycode/kp/p
s/.*decide_hold_tap/ht_decide/p
s/.*on_hold_tap_binding/ht_binding/p
// s/.*mo_keymap_binding/mo/p
// s/.*decide_hold_tap/ht_decide/p
// s/.*on_hold_tap_binding/ht_binding/p
// s/.*keymap_apply_position_state/pos_state/p
s/.*behavior_queue_process_next/queue_process_next/p
// s/.*behavior_queue_process_next/queue_process_next/p