summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-03-11 23:52:04 +0000
committerDrashna Jaelre <drashna@live.com>2019-03-11 16:52:04 -0700
commit99654c6e4f81d65a6ca3da592eb38ca710123b40 (patch)
tree1170bed3e2b77ce8848d39c18ec1ad9980ffebb1
parent8ff4b4dba4026daa15dda1e275c2edf65ba4a3ef (diff)
[Keyboard] Fix diode and split keyboard configuration for 40percentclub/half_n_half (#5371)
-rw-r--r--keyboards/40percentclub/half_n_half/config.h3
-rw-r--r--keyboards/40percentclub/half_n_half/half_n_half.h4
-rw-r--r--keyboards/40percentclub/half_n_half/rules.mk3
3 files changed, 9 insertions, 1 deletions
diff --git a/keyboards/40percentclub/half_n_half/config.h b/keyboards/40percentclub/half_n_half/config.h
index 9aa8e810dd..c74fcacbb9 100644
--- a/keyboards/40percentclub/half_n_half/config.h
+++ b/keyboards/40percentclub/half_n_half/config.h
@@ -46,12 +46,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define UNUSED_PINS
/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION ROW2COL
+#define DIODE_DIRECTION COL2ROW
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
+#define USE_SERIAL
// #define BACKLIGHT_PIN B7
// #define BACKLIGHT_BREATHING
diff --git a/keyboards/40percentclub/half_n_half/half_n_half.h b/keyboards/40percentclub/half_n_half/half_n_half.h
index e20d42fde1..bc330c9cb7 100644
--- a/keyboards/40percentclub/half_n_half/half_n_half.h
+++ b/keyboards/40percentclub/half_n_half/half_n_half.h
@@ -42,3 +42,7 @@
{ R26, R25, R24, R23, R22, R21, R20 }, \
{ ___, ___, ___, ___, R32, ___, ___ } \
}
+
+#ifdef USE_I2C
+ #error "I2C not Supported"
+#endif
diff --git a/keyboards/40percentclub/half_n_half/rules.mk b/keyboards/40percentclub/half_n_half/rules.mk
index bd0d8f808c..cc5fccee98 100644
--- a/keyboards/40percentclub/half_n_half/rules.mk
+++ b/keyboards/40percentclub/half_n_half/rules.mk
@@ -79,3 +79,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
+
+# Enable generic behavior for split boards
+SPLIT_KEYBOARD = yes