summaryrefslogtreecommitdiff
path: root/keyboards/giabalanai
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/giabalanai')
-rw-r--r--keyboards/giabalanai/config.h33
-rw-r--r--keyboards/giabalanai/info.json11
2 files changed, 20 insertions, 24 deletions
diff --git a/keyboards/giabalanai/config.h b/keyboards/giabalanai/config.h
index 2a977deced..c18e61b967 100644
--- a/keyboards/giabalanai/config.h
+++ b/keyboards/giabalanai/config.h
@@ -17,24 +17,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define MATRIX_ROW_PINS { B5, B4, E6, D7, C6, D4 }
-#define MATRIX_COL_PINS { B1, F7, F6, F5, F4, B3, B2, B6, D0, D1 }
-#define MATRIX_ROW_PINS_RIGHT { D1, D0, D4, C6, D7, E6 }
-#define MATRIX_COL_PINS_RIGHT { F4, F5, F6, F7, B1, B3, B2, C7, B7, F1 }
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
+#define SELECT_SOFT_SERIAL_SPEED 1
+/*Sets the protocol speed when using serial communication*/
+//Speeds:
+//0: about 189kbps (Experimental only)
+//1: about 137kbps (default)
+//2: about 75kbps
+//3: about 39kbps
+//4: about 26kbps
+//5: about 20kbps
// Right side has to be the master since 1, LED data is output from right side, and 2, Audio pin is prepared on right side as a reserve.
#define MASTER_RIGHT
@@ -217,9 +208,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define NO_ACTION_TAPPING
// NO_ACTION_ONESHOT -388 bytes
#define NO_ACTION_ONESHOT
-/*
- * Encoder options
- */
-#ifdef ENCODER_ENABLE
-# define ENCODER_RESOLUTIONS_RIGHT { 4 }
-#endif // ENCODER_ENABLE
diff --git a/keyboards/giabalanai/info.json b/keyboards/giabalanai/info.json
index 6b474f7398..eba0da004c 100644
--- a/keyboards/giabalanai/info.json
+++ b/keyboards/giabalanai/info.json
@@ -8,6 +8,11 @@
"pid": "0xF4B0",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B1", "F7", "F6", "F5", "F4", "B3", "B2", "B6", "D0", "D1"],
+ "rows": ["B5", "B4", "E6", "D7", "C6", "D4"]
+ },
+ "diode_direction": "COL2ROW",
"features": {
"midi": true,
"extrakey": true,
@@ -31,6 +36,12 @@
{"pin_a": "B4", "pin_b": "B6"}
]
}
+ },
+ "matrix_pins": {
+ "right": {
+ "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "C7", "B7", "F1"],
+ "rows": ["D1", "D0", "D4", "C6", "D7", "E6"]
+ }
}
},
"processor": "atmega32u4",