Commit Graph

18720 Commits

Author SHA1 Message Date
vectorstorm
c9fd698711
Reimplements WPM feature to be smaller & precise (#13902)
* Reimplements WPM feature.

 - Now calculates exact WPM over the last up to three seconds of typing.
 - WPM_SMOOTHING removed, as it's no longer needed.
 - WPM_SAMPLE_SECONDS added, to specify how long a period to average WPM
   over, set to 5 seconds by default.
 - WPM_SAMPLE_PERIODS added, to specify how many sampling buffers we'll
   use.  Each one uses one extra byte of space.  Having more will lead
   to smoother decay of WPM values.  Defaults to 50 (we're saving so
   many bytes of firmware space I felt like being extravagent, and this
   change is still a big size saving overall)
 - WPM_UNFILTERED option added (defaults to unset), which disables all
   filtering within the WPM feature.  This saves some space in the
   firmware and also reduces latency between typing and the WPM
   calculation measuring it.  (saves 70 bytes in my tests)
 - WPM_LAUNCH_CONTROL added (defaults to unset).  When typing begins
   while the current displayed WPM value is zero, the WPM calculation
   only considers the time elapsed since typing began, not the whole
   WPM_SAMPLE_SECONDS buffer.  The result of this is that the displayed
   WPM value much more rapidly reaches an accurate WPM value, even when
   results are being filtered. (costs 22 bytes in my tests)
 - Updates documentation to reflect changed options.

Saves about 900 bytes, in my tests, compared against the previous implementation,
with default settings.

* Apply suggestions from code review

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

Co-authored-by: Trevor Powell <trevor@vectorstorm.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2021-11-16 05:40:52 +11:00
Nick Brassel
36d123e9c5
Add support for deferred executors. (#14859)
* Add support for deferred executors.

* More docs.

* Include from quantum.h

* Cleanup.

* Parameter checks

* Comments.

* qmk format-c

* I accidentally a few words.

* API name change.

* Apply suggestions from code review

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Review comments.

* qmk format-c

* Review comments.

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2021-11-15 18:21:09 +00:00
Drashna Jaelre
b3ee124da6
Add needed include to pointing_device.c (#15167) 2021-11-16 04:09:31 +11:00
Drashna Jaelre
ca4b54bb30
Fix uart function prototypes (#15162) 2021-11-15 20:15:45 +11:00
Drashna Jaelre
56e3f06a26
Rework and expand Pointing Device support (#14343)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2021-11-14 22:03:24 -08:00
QMK Bot
462c3a6151 Merge remote-tracking branch 'origin/master' into develop 2021-11-14 23:06:50 +00:00
Joel Challis
ec0bb791f8
Partially reinstate CI formatting process (#15155)
* Partially reinstate CI formatting process

* Fix exit code on clean run

* Fix exit code on clean run
2021-11-14 23:06:22 +00:00
QMK Bot
f7536f3adf Merge remote-tracking branch 'origin/master' into develop 2021-11-13 20:22:39 +00:00
James Young
b785305080
kb_elmo/elmopad: fix macro reference in info.json (#15142) 2021-11-13 20:22:35 +00:00
James Young
562c828f75
kb_elmo/m0110a_usb: Fix Configurator Key Sequence (#15143)
* correct info.json key sequence

* friendly-format info.json

Adds label keys and line breaks between the keyboard rows.
2021-11-13 20:22:10 +00:00
Ryan
04b51e381e
Update UART driver API (#14839)
* Add uart_puts() and uart_gets()

* Add some docs

* Rework API

* Formatting

* Update docs/uart_driver.md

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Simplify a uart_write() loop

* Update platforms/avr/drivers/uart.c

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2021-11-13 18:23:14 +00:00
Drashna Jael're
7e86c37962
Merge remote-tracking branch 'origin/master' into develop 2021-11-13 09:32:14 -08:00
peepeetee
0ee9c41cc6
Fix hebrew emoji in langs.md (#15140) 2021-11-13 17:18:02 +00:00
Albert Y
f3efc98877
[Keyboard] Add space between Cradio info.json layout (#15127)
Co-authored-by: filterpaper <filterpaper@localhost>
2021-11-13 09:10:44 -08:00
Markus Fritsche
8323177472
add wait to unicode for win (#15061)
Co-authored-by: Markus Fritsche <fritsche.markus@gmail.com>
2021-11-12 15:00:36 -08:00
QMK Bot
4ceb5947f9 Merge remote-tracking branch 'origin/master' into develop 2021-11-12 22:15:05 +00:00
Albert Y
57f63e43d8
[Docs] Correct logic of tap hold statement (#14992)
Co-authored-by: filterpaper <filterpaper@localhost>
2021-11-12 14:14:28 -08:00
Joel Challis
bd35978254
matrix/abelx - Update ChibiOS conf files (#15130)
* Fix obsolete or unknown configuration file

* use qmk chibios-confmigrate
2021-11-13 08:19:40 +11:00
QMK Bot
233fd7a19c Merge remote-tracking branch 'origin/master' into develop 2021-11-12 16:39:41 +00:00
WiZ.GG
463cb40e16
[Keyboard] Add JadooKB JKB2 (#15036)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-11-12 08:39:04 -08:00
QMK Bot
3a41308661 Merge remote-tracking branch 'origin/master' into develop 2021-11-12 16:38:27 +00:00
Albert Y
9e84be7821
[Keyboard] Update a_dux info.json (#15126)
Co-authored-by: filterpaper <filterpaper@localhost>
2021-11-12 08:38:21 -08:00
Josh Johnson
051bde9c63
[Keyboard] Add Chalice Support (#15106)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-11-12 08:37:54 -08:00
QMK Bot
058308cc74 Merge remote-tracking branch 'origin/master' into develop 2021-11-12 07:33:52 +00:00
Drashna Jaelre
7c2b2c81b5
[Docs] Codify not using code from other keyboards in PRs (#15128)
* [Docs] Codify not using code from other keyboards in PRs

* add additional comments
2021-11-12 18:33:16 +11:00
Joel Challis
f3fa56c32a
gcc10 LTO - Only specify adhlns assembler options at link time (#15115)
* gcc10 LTO - Only specify adhlns assembler options at link time

* Default adhlns off?
2021-11-12 18:31:40 +11:00
QMK Bot
479950ca3f Merge remote-tracking branch 'origin/master' into develop 2021-11-12 01:46:15 +00:00
Joel Challis
a2baed0ebf
Fix obsolete or unknown configuration file (#15129) 2021-11-12 01:44:35 +00:00
QMK Bot
38d071d662 Merge remote-tracking branch 'origin/master' into develop 2021-11-11 19:02:36 +00:00
Joel Challis
0b2bc89559
Avoid MATRIX_*_PINS due to schema validation errors (#15123) 2021-11-12 06:02:00 +11:00
QMK Bot
bfa72721bb Merge remote-tracking branch 'origin/master' into develop 2021-11-11 17:39:08 +00:00
George Petri
d13286fd29
Update Gergoplex keymap (#15111)
* fix wrong config

* start work on gaming layer

* mod tap per key

* tap dance to game layer

* impl game layer

* add double quotes and underline
2021-11-11 17:38:25 +00:00
QMK Bot
40a2f1510b Merge remote-tracking branch 'origin/master' into develop 2021-11-11 16:58:19 +00:00
Drashna Jaelre
7d1c33afe6
[Keyboard] Reduce compiled size for pk64rgb's via keymap (#15118) 2021-11-11 08:57:44 -08:00
QMK Bot
a542aebc46 Merge remote-tracking branch 'origin/master' into develop 2021-11-11 16:57:27 +00:00
Drashna Jaelre
6ab68e9318
[Keyboard] Fix compilation issues for Krush boards (#15117) 2021-11-11 08:56:51 -08:00
Drashna Jaelre
f879fbfb6d
[Keyboard] Fix compilation issues for Lime (#15116) 2021-11-11 08:56:35 -08:00
QMK Bot
742d1a8b8e Merge remote-tracking branch 'origin/master' into develop 2021-11-11 04:33:02 +00:00
HellTM
c48e9f9e77
[Keyboard] Lime by HellTM (#14710)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-11-10 20:32:31 -08:00
QMK Bot
bc6d8d6966 Merge remote-tracking branch 'origin/master' into develop 2021-11-11 04:32:06 +00:00
Gustavs Gūtmanis
48eddeeea4
[Keymap] Adding keymap for BDN9 and Planck (#15067) 2021-11-10 20:31:39 -08:00
QMK Bot
dfba286076 Merge remote-tracking branch 'origin/master' into develop 2021-11-11 04:30:56 +00:00
Sắn
a4eb73eef0
[Keyboard] Added Krush Solder (60% & 65%) (#15074) 2021-11-10 20:30:27 -08:00
QMK Bot
3793abe44a Merge remote-tracking branch 'origin/master' into develop 2021-11-10 17:49:29 +00:00
Drashna Jaelre
1989eb17ec
[Keyboard] Fix compilation issues for teleport numpad (#15110) 2021-11-10 09:48:59 -08:00
QMK Bot
5101313158 Merge remote-tracking branch 'origin/master' into develop 2021-11-10 16:33:45 +00:00
Albert Y
67387cf277
[Keyboard] Add Paroxysm keyboard to Cradio (#15097)
Co-authored-by: filterpaper <filterpaper@localhost>
2021-11-10 08:33:11 -08:00
QMK Bot
364b8045be Merge remote-tracking branch 'origin/master' into develop 2021-11-10 16:32:41 +00:00
melonbred
d3fe3cf3e8
[Keyboard] Update mb44.h (#15092) 2021-11-10 08:31:41 -08:00
Luigi311
3de700847e
[Keyboard] Stream cheap via fixes/updates (#14325) 2021-11-10 08:27:55 -08:00