summaryrefslogtreecommitdiff
path: root/keyboards/jones
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/jones
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/jones')
-rw-r--r--keyboards/jones/v03/config.h1
-rw-r--r--keyboards/jones/v03/info.json3
-rw-r--r--keyboards/jones/v03_1/config.h1
-rw-r--r--keyboards/jones/v03_1/info.json3
-rw-r--r--keyboards/jones/v1/config.h1
-rw-r--r--keyboards/jones/v1/info.json3
6 files changed, 9 insertions, 3 deletions
diff --git a/keyboards/jones/v03/config.h b/keyboards/jones/v03/config.h
index 11ea425f18..9b93ea9e3c 100644
--- a/keyboards/jones/v03/config.h
+++ b/keyboards/jones/v03/config.h
@@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_CLICKY
#endif
-#define RGB_DI_PIN B7
#define RGBLED_NUM 6 // Left(4) + Right(2)
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/jones/v03/info.json b/keyboards/jones/v03/info.json
index 388c0fb9ef..ca87554f1f 100644
--- a/keyboards/jones/v03/info.json
+++ b/keyboards/jones/v03/info.json
@@ -14,6 +14,9 @@
{"pin_a": "B3", "pin_b": "B2"}
]
},
+ "ws2812": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/jones/v03_1/config.h b/keyboards/jones/v03_1/config.h
index fe7a5efa9e..f7183265d8 100644
--- a/keyboards/jones/v03_1/config.h
+++ b/keyboards/jones/v03_1/config.h
@@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_CLICKY
#endif
-#define RGB_DI_PIN F0
#define RGBLED_NUM 14 // Left(4) + Right(2) + Under(8)
#define RGBLIGHT_LED_MAP {0,1,2,3,13,12,4,5,6,7,8,9,10,11} // Left --> Right --> Under
#define RGBLIGHT_HUE_STEP 8
diff --git a/keyboards/jones/v03_1/info.json b/keyboards/jones/v03_1/info.json
index 45e7b8022f..96b10e8ac1 100644
--- a/keyboards/jones/v03_1/info.json
+++ b/keyboards/jones/v03_1/info.json
@@ -14,6 +14,9 @@
{"pin_a": "B3", "pin_b": "B2"}
]
},
+ "ws2812": {
+ "pin": "F0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/jones/v1/config.h b/keyboards/jones/v1/config.h
index c4707355dd..92801acea7 100644
--- a/keyboards/jones/v1/config.h
+++ b/keyboards/jones/v1/config.h
@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
/* RGBLIGHT */
-#define RGB_DI_PIN F1
#define RGBLED_NUM 4 // Left(2) + Right(2)
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/jones/v1/info.json b/keyboards/jones/v1/info.json
index fc690aa6cd..be2d9e64c9 100644
--- a/keyboards/jones/v1/info.json
+++ b/keyboards/jones/v1/info.json
@@ -12,6 +12,9 @@
"cols": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"],
"rows": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"]
},
+ "ws2812": {
+ "pin": "F1"
+ },
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [