94 Commits

Author SHA1 Message Date
regicidal.plutophage
74c2afdff2
Update kmk/extensions/oled.py
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2023-03-11 00:56:16 +03:00
regicidal.plutophage
c401fccd30
Update kmk/extensions/oled.py
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2023-03-11 00:52:45 +03:00
regicidal.plutophage
f6ff00c087 Lint 2023-03-08 00:14:20 +00:00
regicidal.plutophage
f475adf23f
Finalized 2023-03-08 03:07:53 +03:00
regicidal.plutophage
8627e8c7c5 Allow use when ``split`` is not defined 2023-03-04 22:15:57 +00:00
regicidal.plutophage
fbb0b23e3f Add side-dependent options 2023-03-04 22:01:57 +00:00
regicidal.plutophage
95e028d9dd Changed powersave strategy, reworked constructor 2023-03-04 00:33:13 +00:00
regicidal.plutophage
7182dbf4e5 dim_time and off_time can now be none 2023-03-03 01:44:09 +00:00
regicidal.plutophage
3c966dc69f It's smooth now! 2023-03-02 23:38:18 +00:00
regicidal.plutophage
03d1f8313c Slight tweak for more prectable sreen clearing 2023-03-02 18:34:19 +00:00
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
xs5871
4d52afa086 Remove erroneous argument from hsv_to_rgbw conversion function 2023-01-26 18:57:08 -08: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
xs5871
63fd4d9574 add debug info for pixelbuffer to RGB extension 2022-09-22 08:22:22 -07:00
xs5871
85b5aba679 make rgb.val_limit apply globally 2022-09-16 17:59:38 -07:00
Kyle Brown
a21bf761ba Update peg_rgb_matrix.py
Actually fix formatting
2022-09-15 20:24:45 -07:00
Kyle Brown
01cd9d4a7c Apply suggestions from code review
Fix formatting
2022-09-15 20:24:45 -07:00
Jan Lindblom
352bf25c0d Decrease RGB brightness when in powersave. Also add more colours. 2022-09-15 20:24:45 -07:00
Jan Lindblom
9c85ea9b6b Performance improvements. 2022-09-15 20:24:45 -07:00
Jan Lindblom
5f09ba7c0a Add support for changing LED brightness. 2022-09-15 20:24:45 -07:00
Hendrix
34f4264362 Add code review suggestions 2022-08-10 17:12:12 +00:00
Matthew Hendrix
9c7b14e865 Update code to be less fragile 2022-08-10 17:12:12 +00:00
Matthew Hendrix
7f1e7a2708 Remove callback, update docs 2022-08-10 17:12:12 +00:00
Hendrix
ad3c261c1a fix formatting issue 2022-08-10 17:12:12 +00:00
Hendrix
0b23da551a Add callback to lock status 2022-08-10 17:12:12 +00:00
xs5871
f46e3d59e6 add brightness consumer keys 2022-07-14 16:46:21 -07:00
nogg3r5
aa327e4557 Typo in variable name 2022-06-28 08:14:27 -07:00
nogg3r5
37e67c7c44 Update led.py
This line also ends changing, otherwise the variable brightness is never used
2022-06-28 08:14:27 -07:00
nogg3r5
1f8d66ce8c Updating correct line 2022-06-28 08:14:27 -07:00
nogg3r5
333913a924 Update led.py
Reducingdefault brightness to 50%
2022-06-28 08:14:27 -07:00
nogg3r5
15c5e4415e Set brightness to 100 when the board powers on
There didn't seem to be a way to do this, unless I missed something somewhere?
2022-06-28 08:14:27 -07:00
crazyiop
ffcfc9835d update format to fstring 2022-06-12 09:31:15 +00:00
Kyle Brown
91f494846a Revert "[rgb] fix set_rgb_fill method"
This reverts commit 90c4ce99f3ff781f8361f01c847ed0d60b037748.
2022-06-09 11:26:53 +00:00
jonathan nifenecker
90c4ce99f3 [rgb] fix set_rgb_fill method
The code was wrongly iterating the neopixel, running `fill()` on every
individual pixels.
2022-06-08 08:47:02 -07:00