summaryrefslogtreecommitdiff
path: root/keyboards/murcielago
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/murcielago')
-rw-r--r--keyboards/murcielago/info.json14
-rw-r--r--keyboards/murcielago/rev1/config.h6
2 files changed, 13 insertions, 7 deletions
diff --git a/keyboards/murcielago/info.json b/keyboards/murcielago/info.json
index 14f87681bf..b54258280b 100644
--- a/keyboards/murcielago/info.json
+++ b/keyboards/murcielago/info.json
@@ -8,8 +8,20 @@
"pid": "0x0001",
"device_version": "0.0.2"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "F0", "pin_b": "F1"}
+ ]
+ },
"split": {
- "soft_serial_pin": "E6"
+ "soft_serial_pin": "E6",
+ "encoder": {
+ "right": {
+ "rotary": [
+ {"pin_a": "F6", "pin_b": "F7"}
+ ]
+ }
+ }
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
diff --git a/keyboards/murcielago/rev1/config.h b/keyboards/murcielago/rev1/config.h
index 223129a9e3..f334ebc63f 100644
--- a/keyboards/murcielago/rev1/config.h
+++ b/keyboards/murcielago/rev1/config.h
@@ -36,12 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS_RIGHT { B3, B7, D4, B6, C6, C7 }
#define MATRIX_COL_PINS_RIGHT { D6, D7, D3, B2, B1, B0 }
-#define ENCODERS_PAD_A { F0 }
-#define ENCODERS_PAD_B { F1 }
-#define ENCODERS_PAD_A_RIGHT { F6 }
-#define ENCODERS_PAD_B_RIGHT { F7 }
-
-
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW