aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bear_face
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bear_face')
-rw-r--r--keyboards/bear_face/config.h39
-rw-r--r--keyboards/bear_face/info.json15
-rw-r--r--keyboards/bear_face/rules.mk13
-rw-r--r--keyboards/bear_face/v1/keyboard.json (renamed from keyboards/bear_face/v1/info.json)0
-rw-r--r--keyboards/bear_face/v1/rules.mk0
-rw-r--r--keyboards/bear_face/v1/v1.c4
-rw-r--r--keyboards/bear_face/v2/keyboard.json (renamed from keyboards/bear_face/v2/info.json)0
-rw-r--r--keyboards/bear_face/v2/rules.mk0
-rw-r--r--keyboards/bear_face/v2/v2.c4
9 files changed, 19 insertions, 56 deletions
diff --git a/keyboards/bear_face/config.h b/keyboards/bear_face/config.h
deleted file mode 100644
index 81ada21b71..0000000000
--- a/keyboards/bear_face/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 chemicalwill <https://github.com/chemicalwill>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/bear_face/info.json b/keyboards/bear_face/info.json
index e0df316093..ad12468d56 100644
--- a/keyboards/bear_face/info.json
+++ b/keyboards/bear_face/info.json
@@ -9,6 +9,21 @@
"pid": "0x09F5",
"force_nkro": true
},
+ "features": {
+ "backlight": true,
+ "bootmagic": false,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "C7", "C6", "F0", "E6", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
"rows": ["F5", "F6", "F4", "F1", "B0", "B6"]
diff --git a/keyboards/bear_face/rules.mk b/keyboards/bear_face/rules.mk
index 3c6f269144..f11303978e 100644
--- a/keyboards/bear_face/rules.mk
+++ b/keyboards/bear_face/rules.mk
@@ -1,14 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
DEFAULT_FOLDER = bear_face/v1
diff --git a/keyboards/bear_face/v1/info.json b/keyboards/bear_face/v1/keyboard.json
index 8dedc0b1c7..8dedc0b1c7 100644
--- a/keyboards/bear_face/v1/info.json
+++ b/keyboards/bear_face/v1/keyboard.json
diff --git a/keyboards/bear_face/v1/rules.mk b/keyboards/bear_face/v1/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/bear_face/v1/rules.mk
+++ /dev/null
diff --git a/keyboards/bear_face/v1/v1.c b/keyboards/bear_face/v1/v1.c
index f4960d9178..b64a63f0b4 100644
--- a/keyboards/bear_face/v1/v1.c
+++ b/keyboards/bear_face/v1/v1.c
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void keyboard_pre_init_kb(void) {
//Sets LED pin as output
- setPinOutput(F7);
+ gpio_set_pin_output(F7);
keyboard_pre_init_user();
}
@@ -28,7 +28,7 @@ bool led_update_kb(led_t led_state) {
// Caps Lock LED indicator toggling code here
bool res = led_update_user(led_state);
if(res) {
- writePin(F7, led_state.caps_lock);
+ gpio_write_pin(F7, led_state.caps_lock);
}
return res;
}
diff --git a/keyboards/bear_face/v2/info.json b/keyboards/bear_face/v2/keyboard.json
index 908165babb..908165babb 100644
--- a/keyboards/bear_face/v2/info.json
+++ b/keyboards/bear_face/v2/keyboard.json
diff --git a/keyboards/bear_face/v2/rules.mk b/keyboards/bear_face/v2/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/bear_face/v2/rules.mk
+++ /dev/null
diff --git a/keyboards/bear_face/v2/v2.c b/keyboards/bear_face/v2/v2.c
index f4960d9178..b64a63f0b4 100644
--- a/keyboards/bear_face/v2/v2.c
+++ b/keyboards/bear_face/v2/v2.c
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void keyboard_pre_init_kb(void) {
//Sets LED pin as output
- setPinOutput(F7);
+ gpio_set_pin_output(F7);
keyboard_pre_init_user();
}
@@ -28,7 +28,7 @@ bool led_update_kb(led_t led_state) {
// Caps Lock LED indicator toggling code here
bool res = led_update_user(led_state);
if(res) {
- writePin(F7, led_state.caps_lock);
+ gpio_write_pin(F7, led_state.caps_lock);
}
return res;
}