Basic keycode overhaul (#14726)
This commit is contained in:
parent
b06d9d822c
commit
f529580860
52 changed files with 1135 additions and 1081 deletions
|
@ -46,7 +46,7 @@ TEST_F(Tapping, HoldA_SHFT_T_KeyReportsShift) {
|
|||
// Tapping keys does nothing on press
|
||||
EXPECT_CALL(driver, send_keyboard_mock(_)).Times(0);
|
||||
idle_for(TAPPING_TERM);
|
||||
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT)));
|
||||
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LEFT_SHIFT)));
|
||||
run_one_scan_loop();
|
||||
}
|
||||
|
||||
|
@ -92,6 +92,6 @@ TEST_F(Tapping, ANewTapWithinTappingTermIsBuggy) {
|
|||
// If TAPPING_TERM + 1 above is changed to TAPPING_TERM or TAPPING_TERM + 2 it doesn't
|
||||
press_key(7, 0);
|
||||
// Shouldn't be called here really
|
||||
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))).Times(1);
|
||||
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LEFT_SHIFT))).Times(1);
|
||||
idle_for(TAPPING_TERM);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue