]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboard/gh60_rev_c/config.h
zweihander-osx: use eject instead of power
[qmk_firmware.git] / keyboard / gh60_rev_c / config.h
index 2fd8f574396dea5719ceb38d5e7f9f2fa664f65e..827c08d1be501135eda2ca828c95b33b32ae29b6 100644 (file)
@@ -41,15 +41,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
  * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)\r
  *         ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)\r
  *\r
-*/ \r
-#define COLS (int []){ F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }\r
-#define ROWS (int []){ D0, D1, D2, D3, D5 }\r
+*/\r
+#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }\r
+#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }\r
+#define UNUSED_PINS\r
 \r
 /* COL2ROW or ROW2COL */\r
 #define DIODE_DIRECTION COL2ROW\r
 \r
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */\r
-#define DEBOUNC 5\r
+#define DEBOUNCING_DELAY 5\r
 \r
 /* define if matrix has ghost (lacks anti-ghosting diodes) */\r
 //#define MATRIX_HAS_GHOST\r
@@ -62,17 +63,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
 /* Locking resynchronize hack */\r
 #define LOCKING_RESYNC_ENABLE\r
 \r
-/* \r
+/*\r
  * Force NKRO\r
  *\r
- * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved \r
+ * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved\r
  * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the\r
  * makefile for this to work.)\r
  *\r
  * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)\r
  * until the next keyboard reset.\r
  *\r
- * NKRO may prevent your keystrokes from being detected in the BIOS, but it is \r
+ * NKRO may prevent your keystrokes from being detected in the BIOS, but it is\r
  * fully operational during normal computer usage.\r
  *\r
  * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)\r
@@ -90,7 +91,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
  * the keyboard. They are best used in combination with the HID Listen program,\r
  * found here: https://www.pjrc.com/teensy/hid_listen.html\r
  *\r
- * The options below allow the magic key functionality to be changed. This is \r
+ * The options below allow the magic key functionality to be changed. This is\r
  * useful if your keyboard/keypad is missing keys and you want magic key support.\r
  *\r
  */\r