Add brightness level API to OLED driver (#10772)
* Add brightness level API to OLED driver * Set default brightness to 255
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "audio.h"
|
||||
|
||||
/* THIS FILE WAS GENERATED AND IS EXPERIMENTAL!
|
||||
*
|
||||
* This file was generated by qmk-compile-json. You may or may not want to
|
||||
* edit it directly.
|
||||
*/
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(KC_ENTER)
|
||||
};
|
||||
|
||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_UP);
|
||||
} else {
|
||||
tap_code(KC_DOWN);
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"documentation": "This file is a keymap.json file for handwired/onekey/pytest"
|
||||
}
|
||||
Reference in New Issue
Block a user