605 Commits

Author SHA1 Message Date
regicidal.plutophage
82d862058b Finally decided to learn to do it properly 2023-03-02 16:05:42 +00:00
regicidal.plutophage
f345f11144
More formatting 2023-03-02 18:31:18 +03:00
regicidal.plutophage
eb9ee4fa2e
Formatting 2023-03-02 18:23:52 +03:00
regicidal.plutophage
026a2f8a3d
Implement timed blacking out of display 2023-03-02 18:02:37 +03:00
regicidal.plutophage
b5cf50b819
Update oled.py 2023-03-01 09:42:46 +03:00
regicidal.plutophage
40f03a73ea
Timed dimming
Dims display slightly after 10 seconds of inactivity, dims if further after 30 seconds. Returns to full brightness after a keypress.
2023-03-01 08:50:38 +03:00
Jk Jensen
3482a530e5
Lint updates 2023-02-28 09:47:05 -08:00
regicidal.plutophage
6f39c67e0f
Improve inverted text legibility near the edge
Added logic to prevent inverted text blending with the screen bezel if placed at the very edge.
2023-02-27 19:16:30 +03:00
regicidal.plutophage
a73014aeb6
Exposed more parameters
More parameters for text entries
2023-02-27 18:27:43 +03:00
regicidal.plutophage
dcbed64aa9
Improved text handling
This change allows for more precise control over the position of text labels
2023-02-27 15:29:08 +03:00
Jk Jensen
5b88d8a880
Suggested change 2023-02-26 21:12:40 -08:00
jk jensen
46be1fe0c6
Suggested update in kmk/extensions/oled.py
Co-authored-by: regicidal.plutophage <36969337+regicidalplutophage@users.noreply.github.com>
2023-02-26 20:56:56 -08:00
Jk Jensen
ddd8b41b78
Linting 2023-02-26 15:51:03 -08:00
Jan Lindblom
58567b825c
Add support for changing OLED brightness. 2023-02-26 14:36:22 -08:00
Jan Lindblom
6a427a2876
Fixed some basic errors and improved performance of extension. 2023-02-26 14:36:16 -08:00
Jan Lindblom
8d84c50d7d
Adding a new OLED extension and updated kyria code to use it. 2023-02-26 14:35:07 -08:00
Aldoo
61cf527370 Removed extra ".__iter__()" in KeyAttrDict iterator: iterating elements in the partition already implicitly calls its __iter__ method.
Actually using the dictionary iterator with this extra call would trigger an error since an iterator does not have an iterator. This is no longer the case.
2023-02-22 19:37:20 +00:00
xs5871
1f751d8374 Add mouse buttons 4/5 2023-02-21 00:57:39 +00:00
xs5871
d4fe745e71 Cleanup PointingDevice from mouse_keys 2023-02-21 00:57:39 +00:00
xs5871
a90d569690 Fix CC HID report generation 2023-02-18 08:20:52 +00:00
xs5871
449aab7dcb Add BLE_DISCONNECT key 2023-02-17 03:03:40 +00:00
xs5871
a28df47199 Refactor affected modules to use global pointing device 2023-02-14 20:42:08 +00:00
xs5871
9e5d2c24e1 Refactor for nicer pointing device axes handling 2023-02-14 20:42:08 +00:00
xs5871
ca800331de Implement axis movement method 2023-02-14 20:42:08 +00:00
xs5871
1ca27dab58 refactor mouse_keys to use PeriodicTimer 2023-02-14 20:42:08 +00:00
xs5871
fc8d5edd52 refactor mouse_keys module to use global pd 2023-02-14 20:42:08 +00:00
xs5871
e84bbd0d75 add mouse buttons to pointing device 2023-02-14 20:42:08 +00:00
xs5871
69d47343e8 implement global pointing device axis handling 2023-02-14 20:42:08 +00:00
xs5871
470f16c97f factor out consumer control from keyboard hid 2023-02-14 20:42:08 +00:00
xs5871
27f101d139 remove hid awareness from layer module 2023-02-14 20:42:08 +00:00
xs5871
2852420ea8 Bump black version 2023-02-12 22:32:39 +00:00
xs5871
408f2f487e Remove for-else-block from keys.py for readability 2023-02-11 21:27:41 +00:00
xs5871
5af52addf8 Fixes KeyAttrDict iterator 2023-02-11 21:27:41 +00:00
xs5871
e7427ff53b Split KeyAttrDict.__cache into memory friendly partitions. 2023-02-11 09:03:44 +00:00
xs5871
4d52afa086 Remove erroneous argument from hsv_to_rgbw conversion function 2023-01-26 18:57:08 -08:00
claycooper
1935f05ccb Updated key creation for consistency 2023-01-24 16:41:43 +00:00
claycooper
83110c5f80 Re-formatted key creation to be consistent 2023-01-24 16:41:43 +00:00
Conor Burns
83a597bc65 update pin names 2023-01-17 20:39:26 +00:00
Conor Burns
15d3cd706b add 0xCB Helios quickpin 2023-01-17 20:39:26 +00:00
Kryomatix
dd61c3705b
fix: LED static mode toggling (#673)
* Fix bug with static mode toggling

Previously, animation mode was set to none, which prevented the leds from being toggled. Now uses STATIC_STANDBY

* fix formatting
2023-01-11 21:49:51 +00:00
regicidal.plutophage
b109cc2c4a Update peg_oled_display.py 2023-01-08 20:58:43 +00:00
Dave Bendit
afd4982925 fix: Include Z and 0 in CapsWords ranges
Before, the allowed alphabet of characters for CapsWords was exclusive
of the letter Z, and the allowed number set was exclusive of the number
0.

Now, those characters are included, so using them won't interrupt
CapsWords.
2022-11-21 21:12:40 +00:00
xs5871
178afdfeb1 implement multiple-choice for holdtap repeat 2022-10-14 08:25:44 -07:00
xs5871
91565b02ba replace modtap validator with parent holdtap validator 2022-10-11 15:43:39 -07:00
Kyle Brown
60e8f35eca Port kb2040 boards and add to quickpin 2022-10-10 23:13:44 +00:00
xs5871
17f2961c0b fix pystack exhaust during resume_process_key.
Instead of handling resumed key events in a deep stack, buffer them
until the next main loop iteration. New resume events that may be emitted
during handling of old resumes are prepended to that buffer, i.e. take
precedence over events that happen deeper into the buffer/event stack.
Logical replay order is thus preserved.
2022-10-08 13:36:00 -07:00
xs5871
0fbba96026 add type hinting for kmk.keys 2022-10-08 13:28:29 -07:00
Kyle Brown
9431ce5ec1 Quickpin initial support 2022-10-08 19:48:30 +00:00
xs5871
218c15e322 even more typehints 2022-10-03 18:12:48 -07:00
xs5871
565ec8353b continue/finish holdtap-repeat 2022-10-02 09:54:52 -07:00