From f6dd8dea2e493dc549a60fee99de871c4088d09a Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 31 Jan 2023 06:03:30 +1100 Subject: Remove usages of config_common.h from config.h files. (#19714) --- keyboards/aidansmithdotdev/fine40/config.h | 1 - 1 file changed, 1 deletion(-) (limited to 'keyboards/aidansmithdotdev/fine40') diff --git a/keyboards/aidansmithdotdev/fine40/config.h b/keyboards/aidansmithdotdev/fine40/config.h index 43ac1e5dda..e7799e2b0b 100644 --- a/keyboards/aidansmithdotdev/fine40/config.h +++ b/keyboards/aidansmithdotdev/fine40/config.h @@ -3,7 +3,6 @@ #pragma once -#include "config_common.h" #define ENCODER_RESOLUTION 2 #define ENCODERS_PAD_A { D5 } -- cgit v1.2.3 From ea772468650f7c79a9919a4770d371839985bef0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 23 Feb 2023 09:32:18 +1100 Subject: Migrate some more layouts to data driven (#19889) --- keyboards/aidansmithdotdev/fine40/fine40.c | 2 +- keyboards/aidansmithdotdev/fine40/fine40.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 keyboards/aidansmithdotdev/fine40/fine40.h (limited to 'keyboards/aidansmithdotdev/fine40') diff --git a/keyboards/aidansmithdotdev/fine40/fine40.c b/keyboards/aidansmithdotdev/fine40/fine40.c index cc4024136e..73c453b6c0 100644 --- a/keyboards/aidansmithdotdev/fine40/fine40.c +++ b/keyboards/aidansmithdotdev/fine40/fine40.c @@ -1,6 +1,6 @@ // Copyright 2022 Aidan Smith (@Aidan-OS) // SPDX-License-Identifier: GPL-2.0-or-later -#include "fine40.h" +#include "quantum.h" enum keyboard_layers { _MAIN, diff --git a/keyboards/aidansmithdotdev/fine40/fine40.h b/keyboards/aidansmithdotdev/fine40/fine40.h deleted file mode 100644 index dd675cf3ad..0000000000 --- a/keyboards/aidansmithdotdev/fine40/fine40.h +++ /dev/null @@ -1,3 +0,0 @@ -// Copyright 2022 Aidan Smith (@Aidan-OS) -// SPDX-License-Identifier: GPL-2.0-or-later -#include "quantum.h" \ No newline at end of file -- cgit v1.2.3 From 7e0299117b389b1c7fcdfa2f20891ba2287ea771 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 09:45:12 +1100 Subject: Move encoder config to data driven (#19923) Co-authored-by: Nick Brassel --- keyboards/aidansmithdotdev/fine40/config.h | 5 ----- keyboards/aidansmithdotdev/fine40/info.json | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'keyboards/aidansmithdotdev/fine40') diff --git a/keyboards/aidansmithdotdev/fine40/config.h b/keyboards/aidansmithdotdev/fine40/config.h index e7799e2b0b..a39d7fef7d 100644 --- a/keyboards/aidansmithdotdev/fine40/config.h +++ b/keyboards/aidansmithdotdev/fine40/config.h @@ -3,9 +3,4 @@ #pragma once - -#define ENCODER_RESOLUTION 2 -#define ENCODERS_PAD_A { D5 } -#define ENCODERS_PAD_B { B7 } - #define OLED_DISPLAY_128X64 //Comment this out to change the screen size diff --git a/keyboards/aidansmithdotdev/fine40/info.json b/keyboards/aidansmithdotdev/fine40/info.json index c2e1afd84c..c41557a920 100644 --- a/keyboards/aidansmithdotdev/fine40/info.json +++ b/keyboards/aidansmithdotdev/fine40/info.json @@ -25,6 +25,11 @@ "pid": "0x4564", "vid": "0xA059" }, + "encoder": { + "rotary": [ + {"pin_a": "D5", "pin_b": "B7", "resolution": 2} + ] + }, "layouts": { "LAYOUT_2u_single_space": { "layout": [ -- cgit v1.2.3