diff options
author | JayceFayne <13365789+JayceFayne@users.noreply.github.com> | 2021-09-05 18:09:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 09:09:20 -0700 |
commit | 767f2c02844acd77c86ea84fb86a1a7f49f379b0 (patch) | |
tree | 70ab6f4a9570c22f71e2a023a9497fe6eabb248a /drivers/oled/oled_driver.h | |
parent | 0471429c018b85ebbccfe8c823621235c99458b2 (diff) | |
download | qmk_firmware-767f2c02844acd77c86ea84fb86a1a7f49f379b0.tar.gz qmk_firmware-767f2c02844acd77c86ea84fb86a1a7f49f379b0.zip |
[Core] Add `is_oled_scrolling` (#14305)
Diffstat (limited to 'drivers/oled/oled_driver.h')
-rw-r--r-- | drivers/oled/oled_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h index fc68f0ec9..13b73ede9 100644 --- a/drivers/oled/oled_driver.h +++ b/drivers/oled/oled_driver.h | |||
@@ -313,6 +313,10 @@ bool oled_scroll_left(void); | |||
313 | // Returns true if the screen was not scrolling or stops scrolling | 313 | // Returns true if the screen was not scrolling or stops scrolling |
314 | bool oled_scroll_off(void); | 314 | bool oled_scroll_off(void); |
315 | 315 | ||
316 | // Returns true if the oled is currently scrolling, false if it is | ||
317 | // not | ||
318 | bool is_oled_scrolling(void); | ||
319 | |||
316 | // Inverts the display | 320 | // Inverts the display |
317 | // Returns true if the screen was or is inverted | 321 | // Returns true if the screen was or is inverted |
318 | bool oled_invert(bool invert); | 322 | bool oled_invert(bool invert); |