zmk/app/tests/mercury
2022-03-19 23:07:24 +00:00
..
sdDn_dUp add readme to mercury test explaining run procedure 2022-03-19 23:07:24 +00:00
behavior_keymap.dtsi overwrite native_posix.overlay to enable larger keymaps, and write tests pointing to mercury.keymap 2022-03-19 18:20:14 +00:00
readme.txt add readme to mercury test explaining run procedure 2022-03-19 23:07:24 +00:00

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;