Commit Graph

304 Commits

Author SHA1 Message Date
QMK Bot
3bfbf54056 Merge remote-tracking branch 'origin/develop' into xap 2023-05-31 18:46:39 +00:00
Evgenii Vilkov
04719c774d
Fix backlight sync on suspend_power_down for split keyboards (#21079) 2023-05-31 11:46:03 -07:00
QMK Bot
ecf42c0153 Merge remote-tracking branch 'origin/develop' into xap 2023-05-20 12:35:55 +00:00
Pascal Getreuer
3993b15f05
[Core] Add Repeat Key ("repeat last key") as a core feature. (#19700)
Co-authored-by: casuanoob <96005765+casuanoob@users.noreply.github.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-05-20 22:35:06 +10:00
QMK Bot
a85a446b01 Merge remote-tracking branch 'origin/develop' into xap 2023-05-20 12:16:19 +00:00
Sergey Vlasov
21b660fa07
Move pre_process_record_kb() before process_combo() (#20969) 2023-05-20 22:15:55 +10:00
QMK Bot
cdd6c4dcfb Merge remote-tracking branch 'origin/develop' into xap 2023-05-13 07:42:41 +00:00
Albert Y
128f808496
Add a user callback for pre process record (#20584) 2023-05-13 08:42:06 +01:00
QMK Bot
7faa82869c Merge remote-tracking branch 'origin/develop' into xap 2023-02-11 23:23:46 +00:00
Drashna Jaelre
fe02abc479
[Core] Tri Layer Keys (#19795)
Co-authored-by: wilba <wilba@wilba.tech>
Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-02-12 10:23:07 +11:00
QMK Bot
151c24cfc6 Merge remote-tracking branch 'origin/develop' into xap 2023-02-11 03:48:25 +00:00
Joel Challis
11d49d00e7
Remove matrix_init_quantum/matrix_scan_quantum (#19806) 2023-02-11 03:47:17 +00:00
QMK Bot
327aaae1ba Merge remote-tracking branch 'origin/develop' into xap 2023-02-10 21:10:50 +00:00
Joel Challis
1d0b4c8d38
Tidy up use of keycode range helpers (#19756) 2023-02-10 21:10:14 +00:00
QMK Bot
f202d4a291 Merge remote-tracking branch 'origin/develop' into xap 2023-01-20 16:21:59 +00:00
Ryan
cf935d97ae
Fix functions with empty params (#19647)
* Fix functions with empty params

* Found a bunch more
2023-01-20 16:21:17 +00:00
QMK Bot
611245aba6 Merge remote-tracking branch 'origin/develop' into xap 2023-01-17 05:25:06 +00:00
Jouke Witteveen
db7ca07909
Process Tap Dances before WPM/Velocikey (#19599) 2023-01-16 21:23:57 -08:00
QMK Bot
dc761140c9 Merge remote-tracking branch 'origin/develop' into xap 2022-11-08 19:04:10 +00:00
Ryan
d810878d5e
Normalise output selection (Bluetooth) keycodes (#19004) 2022-11-08 19:03:31 +00:00
Nick Brassel
d6841242e6
Merge remote-tracking branch 'upstream/develop' into xap 2022-11-06 08:34:19 +11:00
Nick Brassel
5233c69bc6
Remove thermal printer. (#18959) 2022-11-06 00:15:55 +11:00
QMK Bot
f780c9de05 Merge remote-tracking branch 'origin/develop' into xap 2022-10-25 16:50:54 +00:00
Ryan
812001de7f
Deprecate ONESHOT_* keycodes for QK_ONE_SHOT_* (#18844)
* Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*`

* Docs
2022-10-25 17:50:22 +01:00
QMK Bot
fbf12e2cd3 Merge remote-tracking branch 'origin/develop' into xap 2022-10-22 20:45:51 +00:00
Ryan
74484e21af
Deprecate VLK_TOG for VK_TOGG (#18807) 2022-10-22 21:45:20 +01:00
QMK Bot
661e0fa1a1 Merge remote-tracking branch 'origin/develop' into xap 2022-10-21 13:26:44 +00:00
Ryan
b33fc34967
Deprecate KC_LEAD for QK_LEAD (#18792) 2022-10-21 14:25:54 +01:00
QMK Bot
331531f4b7 Merge remote-tracking branch 'origin/develop' into xap 2022-10-08 16:14:30 +00:00
jpe230
86938fd958
Allow QK_MAKE to work with converters (#18637) 2022-10-08 09:13:58 -07:00
QMK Bot
46afdf5427 Merge remote-tracking branch 'origin/develop' into xap 2022-10-03 09:49:00 +00:00
Sergey Vlasov
ca0c12847a
Fix layer switching from tap dances by redoing the keymap lookup (#17935) 2022-10-03 20:48:16 +11:00
QMK Bot
19a416b5f6 Merge remote-tracking branch 'origin/develop' into xap 2022-09-24 06:44:27 +00:00
Alabastard-64
7c1797f52f
[Core] Pointing Device Automatic Mouse Layer (#17962)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-09-23 23:43:55 -07:00
QMK Bot
0f234fc77e Merge remote-tracking branch 'origin/develop' into xap 2022-09-17 07:51:36 +00:00
Drashna Jaelre
fb29c0ae53
[Core] Add getreuer's Autocorrect feature to core (#15699)
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
2022-09-17 17:50:54 +10:00
QMK Bot
5a9e3a71f0 Merge remote-tracking branch 'origin/develop' into xap 2022-09-02 03:43:50 +00:00
Drashna Jaelre
423826a34a
Better handle EEPROM reset keycode (#18244) 2022-09-01 20:43:06 -07:00
QMK Bot
3dea197e48 Merge remote-tracking branch 'origin/develop' into xap 2022-07-25 22:07:15 +00:00
Drashna Jaelre
325da02e57
Fix QK_MAKE's reboot check (#17795) 2022-07-25 23:06:26 +01:00
QMK Bot
17111d7383 Merge remote-tracking branch 'origin/develop' into xap 2022-07-23 18:21:54 +00:00
JayceFayne
d02cefe613
implement tap_code16_delay (#17748) 2022-07-23 19:21:20 +01:00
QMK Bot
bfc8f5402d Merge remote-tracking branch 'origin/develop' into xap 2022-07-23 16:44:11 +00:00
jack
a6f3194397
Add ability to enter bootloader mode from QK_MAKE (#17745) 2022-07-23 17:43:32 +01:00
QMK Bot
96284a6d63 Merge remote-tracking branch 'origin/develop' into xap 2022-06-05 09:20:18 +00:00
QMK Bot
d6402fe9fb Merge remote-tracking branch 'origin/master' into develop 2022-06-05 11:15:11 +02:00
Pascal Getreuer
95d20e6d8b
Fix and add unit tests for Caps Word to work with Unicode Map, Auto Shift, Retro Shift. (#17284)
* Fix Caps Word and Unicode Map

* Tests for Caps Word + Auto Shift and Unicode Map.

* Fix formatting

* Add additional keyboard report expectation macros

This commit defines five test utilities, EXPECT_REPORT, EXPECT_UNICODE,
EXPECT_EMPTY_REPORT, EXPECT_ANY_REPORT and EXPECT_NO_REPORT for use with
TestDriver.

EXPECT_REPORT sets a gmock expectation that a given keyboard report will
be sent. For instance,

  EXPECT_REPORT(driver, (KC_LSFT, KC_A));

is shorthand for

  EXPECT_CALL(driver,
      send_keyboard_mock(KeyboardReport(KC_LSFT, KC_A)));

EXPECT_UNICODE sets a gmock expectation that a given Unicode code point
will be sent using UC_LNX input mode. For instance for U+2013,

  EXPECT_UNICODE(driver, 0x2013);

expects the sequence of keys:

  "Ctrl+Shift+U, 2, 0, 1, 3, space".

EXPECT_EMPTY_REPORT sets a gmock expectation that a given keyboard
report will be sent. For instance

  EXPECT_EMPTY_REPORT(driver);

expects a single report without keypresses or modifiers.

EXPECT_ANY_REPORT sets a gmock expectation that a arbitrary keyboard
report will be sent, without matching its contents. For instance

  EXPECT_ANY_REPORT(driver).Times(1);

expects a single arbitrary keyboard report will be sent.

EXPECT_NO_REPORT sets a gmock expectation that no keyboard report will
be sent at all.

* Add tap_key() and tap_keys() to TestFixture.

This commit adds a `tap_key(key)` method to TestFixture that taps a
given KeymapKey, optionally with a specified delay between press and
release.

Similarly, the method `tap_keys(key_a, key_b, key_c)` taps a sequence of
KeymapKeys.

* Use EXPECT_REPORT, tap_keys, etc. in most tests.

This commit uses EXPECT_REPORT, EXPECT_UNICODE, EXPECT_EMPTY_REPORT,
EXPECT_NO_REPORT, tap_key() and tap_keys() test utilities from the
previous two commits in most tests. Particularly the EXPECT_REPORT
macro is frequently useful and makes a nice reduction in boilerplate
needed to express many tests.

Co-authored-by: David Kosorin <david@kosorin.net>
2022-06-05 09:14:02 +02:00
QMK Bot
6579526ace Merge remote-tracking branch 'origin/develop' into xap 2022-05-31 05:38:38 +00:00
Nick Brassel
8545473307
Removes terminal from QMK. (#17258) 2022-05-30 22:38:08 -07:00
zvecr
17dbcedc8b bind xap_broadcast_secure_status to secure_hook_quantum 2022-05-22 22:47:50 +01:00