Bläddra i källkod

[Keyboard] Pos78 update (#11274)

* Added LED hardware pin numbers

CAPS and NUM lock LEDs

* Added "LED_PIN_ON_STATE 1"

* Make MATRIX_ROW/COL pins match reality
smssmssms 4 år sedan
förälder
incheckning
d321cb3f8b
1 ändrade filer med 7 tillägg och 2 borttagningar
  1. 7 2
      keyboards/pos78/config.h

+ 7 - 2
keyboards/pos78/config.h

@@ -39,8 +39,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *                  ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  *
  */
-#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 }
-#define MATRIX_COL_PINS { C7, D6, B7 ,B6, B5, E6, C6, D0, D1, D3, D2,  B1, B2 }
+#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
+#define MATRIX_COL_PINS { B2, B1, D2, D3, D1, D0, C6, E6, B5, B6, B7, D6, C7 }
 #define UNUSED_PINS
 
 /* COL2ROW, ROW2COL */
@@ -59,6 +59,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* Locking resynchronize hack */
 #define LOCKING_RESYNC_ENABLE
 
+/* Hardware LED pins*/
+#define LED_CAPS_LOCK_PIN D4
+#define LED_NUM_LOCK_PIN D2
+#define LED_PIN_ON_STATE 1
+
 /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
  * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
  */