summaryrefslogtreecommitdiffstats
path: root/keyboards/meira/keymaps
diff options
context:
space:
mode:
authorCole Markham <github@themarkhams.us>2018-03-07 23:06:41 +0100
committerJack Humbert <jack.humb@gmail.com>2018-03-07 23:06:41 +0100
commitbd1ad405bfb50a42f162b66b00037a7630474307 (patch)
tree959302dc2d8a0fa3ce004447c7dbe459ae32435b /keyboards/meira/keymaps
parent03df19d3f6968f0dc3041b39b7ae8b85198aaa56 (diff)
downloadqmk_firmware-bd1ad405bfb50a42f162b66b00037a7630474307.tar.gz
qmk_firmware-bd1ad405bfb50a42f162b66b00037a7630474307.tar.xz
Update Meira for revision 1.1 to enable backlighting by default (#2468)
* Update Meira for revision 1.1 to enable backlighting by default * Updates to fix other keymaps
Diffstat (limited to 'keyboards/meira/keymaps')
-rw-r--r--keyboards/meira/keymaps/default/keymap.c5
-rw-r--r--keyboards/meira/keymaps/grahampheath/rules.mk2
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/meira/keymaps/default/keymap.c b/keyboards/meira/keymaps/default/keymap.c
index acde30afc..dd55859a5 100644
--- a/keyboards/meira/keymaps/default/keymap.c
+++ b/keyboards/meira/keymaps/default/keymap.c
@@ -14,7 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "meira.h"
-#include "issi.h"
#include "lighting.h"
#ifdef RGBLIGHT_ENABLE
@@ -277,10 +276,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return false;
break;
case BL_TOGG:
-#ifdef ISSI_ENABLE
+#ifdef BACKLIGHT_ENABLE
if (record->event.pressed) {
print("Enabling backlight\n");
- issi_init();
+ backlight_init_ports();
}
#endif
return false;
diff --git a/keyboards/meira/keymaps/grahampheath/rules.mk b/keyboards/meira/keymaps/grahampheath/rules.mk
index 8288530c9..b3b1980eb 100644
--- a/keyboards/meira/keymaps/grahampheath/rules.mk
+++ b/keyboards/meira/keymaps/grahampheath/rules.mk
@@ -1,3 +1,5 @@
AUDIO_ENABLE = yes # Audio output on port C6
EXTRAFLAGS+=-flto # -4-7k
MOUSEKEY_ENABLE = no # Mouse keys(-47kb)
+ISSI_ENABLE = no
+BACKLIGHT_ENABLE = no \ No newline at end of file