tmk/tmk_keyboard — pull request #110 by xauser (2014-04-08 19:22:53+00:00)
Title: Enhanced Backlight Support

Hello Hasu,

the current backlight code is based on a simple integer increment (ACTION_BACKLIGHT_STEP) to step through all backlight configurations. I improved this with a setter function to have better control of the level bits.

ACTION_BACKLIGHT_LEVEL(level)

An example usage is in lightsaber keymap header.

This patch does not break the current functions, it's just an alternative way to control the level.

Kind regards
xauser