Kristian Sloth Lauszus
d9d26814e8
Fix warnings
2018-05-02 00:35:28 +02:00
László Monda
8856c484b6
Add LedDisplay_UpdateAll()
2018-04-28 16:21:54 +02:00
László Monda
ebd0e3b762
Make ParseConfig() restore indicator icons. Fixes #107
2018-04-28 14:43:13 +02:00
László Monda
06ebed5537
Rename some variables and clean up coding style.
2018-04-28 11:19:01 +02:00
Kristian Sloth Lauszus
c109a9e202
The layer keys can now also wake up the computer
2018-03-11 19:29:24 +01:00
Kristian Sloth Lauszus
5de0e5ac60
Turn LEDs, backlight and display off when sleeping
...
Fixes #83
2018-03-11 05:26:51 +01:00
László Monda
0f34b01189
Update LED brightness levels upon applying the configuration.
2017-12-10 20:48:26 +01:00
László Monda
f927aef7f5
Put function curlies into their own line according to our coding standards all across the codebase.
2017-11-10 23:14:44 +01:00
László Monda
b8846cd601
Add LedDisplay_SetCurrentKeymapText() and use it when reinitializaing the LED display upon disconnect. This fixes the bug that shows FTY on the display upon I2C watchdog recoveries.
2017-11-09 20:59:51 +01:00
László Monda
2aaef66d85
Convert LAYER_ID_* macros to LayerId_* enum values.
2017-11-02 21:48:30 +01:00
László Monda
877cb78b0a
Extract LedDriverValues from LedDriverStates to make them public, and make LedDriverStates values private.
2017-09-29 15:18:01 +02:00
László Monda
81de51244a
Leave some breathing room in dense code blocks.
2017-09-29 01:39:34 +02:00
László Monda
2b6762d3e0
Indent cases inside switches.
2017-09-29 01:35:25 +02:00
László Monda
28f0cdd2c0
Use LED_BRIGHTNESS_LEVEL in led_display.c instead of magic values.
2017-09-29 01:33:21 +02:00
László Monda
01baa31241
Rename slave_driver_led_driver.[ch] to is31fl3731_driver.[ch]
2017-08-06 16:09:33 +02:00
László Monda
546ca5d0b2
Implement much more efficient LED driver updater algorithm that only talks to the LED driver ICs when necessary. Add LED_DRIVER_STRESS_TEST macro.
2017-07-31 17:30:33 +02:00
Eric Tang
8a58d97809
Simplify LedDisplay_SetLayer
2017-07-15 23:59:34 -07:00
Eric Tang
dab3b3464f
Use only decimal values to represent LED brightnesses in led_display.c
2017-07-14 20:28:00 -07:00
Eric Tang
5c2e5d9a81
Fix the appearance of "6" on the LED display
2017-07-14 20:26:15 -07:00
Eric Tang
38b281e962
Improve the appearance of "K" and "7" on the display
2017-07-14 11:26:02 -07:00
Eric Tang
eaacc18ab1
Make characterToSegmentSet use a lookup table
2017-07-14 08:14:09 -07:00
Eric Tang
1cd060122f
Implement the new API for controlling the LED display
2017-07-13 23:42:39 -07:00
Eric Tang
25181e5841
Expose the new API for controlling the LED display
2017-07-13 16:37:58 -07:00
László Monda
afab1db73c
Remove some unused sync I2C calls.
2017-03-18 02:02:56 +01:00
Gergely Nagy
a59dcd1662
Lift out the LED brightness into a global
...
Instead of passing the same constant to LedDisplay_SetLayerLed() all the time,
lift it out into a global.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org >
2016-12-13 23:23:16 +01:00
Gergely Nagy
2a7edbce6f
Light up LEDs on the display when switching layers
...
When switching layers, light up the appropriate LED on the display. For this
purpose, start led_display.[ch], which as a start, has a function to set the
brightness of a layer led.
The function will also turn all other LEDs off, and turn all of them off when on
the base layer.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org >
2016-12-13 20:34:43 +01:00