aboutsummaryrefslogtreecommitdiff
path: root/keyboards/halfcliff
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/halfcliff')
-rw-r--r--keyboards/halfcliff/keyboard.json (renamed from keyboards/halfcliff/info.json)6
-rw-r--r--keyboards/halfcliff/matrix.c9
-rw-r--r--keyboards/halfcliff/rules.mk17
3 files changed, 9 insertions, 23 deletions
diff --git a/keyboards/halfcliff/info.json b/keyboards/halfcliff/keyboard.json
index 0c9b4ddb0f..1f60537b24 100644
--- a/keyboards/halfcliff/info.json
+++ b/keyboards/halfcliff/keyboard.json
@@ -14,6 +14,7 @@
]
},
"split": {
+ "enabled": true,
"soft_serial_pin": "D2"
},
"rgblight": {
@@ -28,6 +29,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "features": {
+ "bootmagic": false,
+ "mousekey": false,
+ "extrakey": false
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/halfcliff/matrix.c b/keyboards/halfcliff/matrix.c
index fd18fd27bd..99598dc1b7 100644
--- a/keyboards/halfcliff/matrix.c
+++ b/keyboards/halfcliff/matrix.c
@@ -14,15 +14,12 @@ 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/>.
*/
-#include <stdint.h>
-#include <stdbool.h>
-#include "util.h"
#include "matrix.h"
-#include "debounce.h"
-#include "quantum.h"
+#include "atomic_util.h"
#include "split_util.h"
-#include "config.h"
#include "transport.h"
+#include "debounce.h"
+#include "wait.h"
#define ERROR_DISCONNECT_COUNT 5
diff --git a/keyboards/halfcliff/rules.mk b/keyboards/halfcliff/rules.mk
index 004db2a6d7..8784813b33 100644
--- a/keyboards/halfcliff/rules.mk
+++ b/keyboards/halfcliff/rules.mk
@@ -1,19 +1,2 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = no # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-SPLIT_KEYBOARD = yes
-ENCODER_ENABLE = no
-POINTING_DEVICE_ENABLE = no
CUSTOM_MATRIX = yes
-OLED_ENABLE = no
-
SRC += matrix.c