Commit Graph

1022 Commits

Author SHA1 Message Date
James Fitzgerald
688c2f0572 Change debug_enabled to False 2022-07-14 10:29:25 +00:00
James Fitzgerald
ca719faa29 Rename text_replacement.md to string_substitution.md 2022-07-14 10:29:25 +00:00
James Fitzgerald
c2a3a1895f Add more tests and delay after last key event in tests 2022-07-14 10:29:25 +00:00
James Fitzgerald
8ab67052cf Rename to String Substitution 2022-07-14 10:29:25 +00:00
James Fitzgerald
c49f409fb4 Add testing against suggested test cases 2022-07-14 10:29:25 +00:00
James Fitzgerald
521f991f2d Improve guarding against non-shift modifiers 2022-07-14 10:29:25 +00:00
James Fitzgerald
664a557483 Apply suggestions from code review
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2022-07-14 10:29:25 +00:00
James Fitzgerald
50279f88fb Add keyboard event tests 2022-07-14 10:29:25 +00:00
James Fitzgerald
82a68b0fe5 Add warning about invalid characters in documentation 2022-07-14 10:29:25 +00:00
James Fitzgerald
e064796016 Fix isort issues and quotes 2022-07-14 10:29:25 +00:00
James Fitzgerald
3db84528f2 Add informative error when illegal character is in user dictionary 2022-07-14 10:29:25 +00:00
James Fitzgerald
f33e4d1870 Add unit tests 2022-07-14 10:29:25 +00:00
James Fitzgerald
ab75b2bca3 Fix wrong quotes 2022-07-14 10:29:25 +00:00
James Fitzgerald
81f4f7ccf0 Bugfix for text replacement optimization 2022-07-14 10:29:25 +00:00
James Fitzgerald
103e51eb7f Improve comment clarity 2022-07-14 10:29:25 +00:00
James Fitzgerald
a5dc665ddc Optimize backspacing to only backspace characters that need to be backspaced rather than the entire word 2022-07-14 10:29:25 +00:00
James Fitzgerald
d8ca20c73c Code cleanup
* Refactor for improved readability
* Add docstrings and comments
* Add type annotations
2022-07-14 10:29:25 +00:00
James Fitzgerald
d7d253b1ea Further documentation improvements 2022-07-14 10:29:25 +00:00
James Fitzgerald
ec1f84f9ea Documentation improvements 2022-07-14 10:29:25 +00:00
James Fitzgerald
b17c73bac0 Replace double quotes with single quotes 2022-07-14 10:29:25 +00:00
James Fitzgerald
0392aa74e2 Fix for underscore in user dictionary causing KeyError 2022-07-14 10:29:25 +00:00
James Fitzgerald
0e58bdc343 Improve documentation clarity 2022-07-14 10:29:25 +00:00
James Fitzgerald
9a3524d363 Implement Text Replacement module 2022-07-14 10:29:25 +00:00
Josh Klar
ca2aca47d6 fix(irisr2/nicenano): fix grossly incorrect coordinate mapping 2022-07-14 00:05:16 -07:00
nogg3r5
00700e373c Update rgb.md
The referenced function is above, not below this function.
2022-07-13 08:08:33 -07:00
xs5871
20705e2150 unit test fail may be caused by a stuck combo 2022-07-12 19:20:22 -07:00
Josh Klar
db395a81e4 fix(lint): kmk/modules/combos.py 2022-07-11 08:16:11 -07:00
Luke D Russell
9e29f4c442 Adds an alias for the LEADER keycode 2022-07-11 08:16:11 -07:00
Gleb Sabirzyanov
6fe2457d8e Rename encoder resolution to divisor 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
2e515d25b4 Fix typo in docs/encoder.md
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
a22e9754c1 Add encoder pinout to the docs 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
f83e3361e4 Improve encoder docs 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
946a8a8652 Improve doc example formatting 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
1293863cc0 Add note about divisor and smooth encoders 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
ed41f4cda5 Fix formatting and comments 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
6e8aaff050 Cancel action on encoder return 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
61ef788dc6 Fix different brackets in two places in encoder.md 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
58248a9631 Prefer integer division in encoder.py
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
1bc54a10a1 Remove extra newline in encoder.md
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
17e63a435d Fix typo in encoder docs
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
edb5bc336e Add encoder resolution info 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
c4f81e3bd6 Tiny formatting fix 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
e478fed927 Minor wording improvement 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
9e71038853 Improve encoder docs wording and formatting 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
e72ab5a958 Fix formatting 2022-07-08 11:03:01 +00:00
Gleb Sabirzyanov
aafa0d9c6a Add encoder resolution setting 2022-07-08 11:03:01 +00:00
xs5871
ed378c960f github unit test keeps failing for no apparent reason... 2022-07-05 08:48:18 -07:00
xs5871
178acc0702 pacify the linter 2022-07-05 08:48:18 -07:00
xs5871
36703a1e0d fix holdtap unittest to match correct behaviour 2022-07-05 08:48:18 -07:00
xs5871
ac8a696acb fix combos to match new unittest 2022-07-05 08:48:18 -07:00