qmk_firmware/tests/test_common
fredizzimo 9e8767917d
Fix pressing two keys with the same keycode but different modifiers (#2710)
* Fix extra keyboard report during test_fixture teardown

* Add tests for pressing two keys with only different modifers

* Fix #1708

When two keys that use the same keycode, but different modifiers were
pressed at the same time, the second keypress wasn't registered. This is
fixed by forcing a key release when we detect a new press for the same
keycode.

* Fix the NKRO version of is_key_pressed

* Fix uninitalized loop variable

Co-authored-by: Jack Humbert <jack.humb@gmail.com>
2020-03-13 14:09:38 -04:00
..
keyboard_report_util.cpp clang-format changes 2019-08-30 15:01:52 -07:00
keyboard_report_util.hpp Configure vscode file associations, use hpp instead of h 2017-07-08 21:59:51 -04:00
matrix.c clang-format changes 2019-08-30 15:01:52 -07:00
test_common.hpp add tests for action_layer.c and reset layer state after tests 2017-12-15 13:23:30 -05:00
test_driver.cpp clang-format changes 2019-08-30 15:01:52 -07:00
test_driver.hpp Configure vscode file associations, use hpp instead of h 2017-07-08 21:59:51 -04:00
test_fixture.cpp Fix pressing two keys with the same keycode but different modifiers (#2710) 2020-03-13 14:09:38 -04:00
test_fixture.hpp Fix unreferenced errors with mingw compiler and unit tests 2017-07-11 19:41:04 +03:00
test_matrix.h