summaryrefslogtreecommitdiff
path: root/keyboards/chromatonemini/info.json
diff options
context:
space:
mode:
author3araht <69518343+3araht@users.noreply.github.com>2022-09-30 15:13:21 +0900
committerGitHub <noreply@github.com>2022-09-30 07:13:21 +0100
commit10005e9f39409986493dc3865cc64734c9db786e (patch)
tree9fa090a172175f3647d33417a01a8e4548dc9a19 /keyboards/chromatonemini/info.json
parente1e86cb1fb97afe3c2d8331dde4e0f1d61d67e37 (diff)
Rotary encoder setting is revised to solve a malfunction. (#18227)
* Rotary encoder setting is revised to solve a mulfunction. UNUSED_PINS deleted. * Encoder map applied. * ENCODER_MAP_ENABLE moved to keymap level. * Settings in rules.mk moved to info.json. * picture sent to imgur. config.h streamlined.
Diffstat (limited to 'keyboards/chromatonemini/info.json')
-rw-r--r--keyboards/chromatonemini/info.json27
1 files changed, 25 insertions, 2 deletions
diff --git a/keyboards/chromatonemini/info.json b/keyboards/chromatonemini/info.json
index 5f77db05ee..7d33f4ed20 100644
--- a/keyboards/chromatonemini/info.json
+++ b/keyboards/chromatonemini/info.json
@@ -3,6 +3,26 @@
"manufacturer": "3araht",
"url": "https://github.com/3araht/chromatonemini",
"maintainer": "3araht",
+ "bootloader": "caterina",
+ "processor": "atmega32u4",
+ "features": {
+ "midi": true,
+ "extrakey": true,
+ "encoder": true,
+ "via": true,
+ "bootmagic": false,
+ "console": false,
+ "mousekey": false,
+ "nkro": false,
+ "rgblight": false,
+ "audio": false
+ },
+ "diode_direction": "COL2ROW",
+ "matrix_pins": {
+ "cols": [ "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6" ],
+ "rows": [ "E6", "D7", "C6", "D4", "D0", "D1" ]
+ },
+ "debounce": 5,
"usb": {
"vid": "0xFEED",
"pid": "0xF4B4",
@@ -13,8 +33,6 @@
"layout": [
{"label":"enc", "x":0.5, "y":0},
{"label":"sustain", "x":1.5, "y":0},
- {"label":"ccw", "x":2.5, "y":0},
- {"label":"cw", "x":3.5, "y":0},
{"label":"up", "x":0.5, "y":1.5},
{"label":"left", "x":0, "y":2.5},
{"label":"right", "x":1, "y":2.5},
@@ -57,5 +75,10 @@
{"label":"k34", "x":19, "y":3.5},
{"label":"k36", "x":20, "y":3.5}]
}
+ },
+ "encoder": {
+ "rotary": [
+ { "pin_a": "B5", "pin_b": "B4", "resolution": 4 }
+ ]
}
}