From 3e7a2c49a6e81ba51a8079494bb99f61942e3d7f Mon Sep 17 00:00:00 2001 From: layne001365 Date: Tue, 19 Mar 2019 01:33:57 +0800 Subject: [PATCH] [Keyboard] Fix matrix positions for HotDox (#5437) * Add HotDox * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 * Update keyboards/hotdox/keymaps/default/keymap.c Co-Authored-By: layne001365 * * Update - keyboards/hotdox/config.h - keyboards/hotdox/hotdox.h - keyboards/hotdox/info.json - keyboards/hotdox/left.h - keyboards/hotdox/left.c - keyboards/hotdox/rules.mk * Replace EPRM with EPRM - keyboards/hotdox/keymaps/default/keymap.c - keyboards/hotdox/keymaps/eozaki/keymap.c - keyboards/hotdox/keymaps/kloki/keymap.c * Remove keymaps readme.md * Remove twimaster.h/ twimaster.c * * Update - remove FORCE_NKRO from keyboards/hotdox/config.h - keyboards/hotdox/hotdox.c - keyboards/hotdox/hotdox.h - keyboards/hotdox/keymaps/default/keymap.c - keyboards/hotdox/left.c - keyboards/hotdox/readme.md - keyboards/hotdox/rules.mk * Update keyboards/hotdox/keymaps/default/keymap.c Co-Authored-By: layne001365 * Update keyboards/hotdox/keymaps/default/keymap.c Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/hotdox.h Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 * [Keymaps] reverse the K5C<->K5A, L53<->L51, R55<->R53 position. --- keyboards/hotdox/hotdox.h | 8 ++++---- keyboards/hotdox/keymaps/default/keymap.c | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/keyboards/hotdox/hotdox.h b/keyboards/hotdox/hotdox.h index d79f335ad0..0eef4ea790 100644 --- a/keyboards/hotdox/hotdox.h +++ b/keyboards/hotdox/hotdox.h @@ -95,7 +95,7 @@ void ergodox_blink_all_leds(void); k49,k4A,k4B,k4C,k4D, \ k57,k58, \ k59, \ - k5C,k5B,k5A ) \ + k5A,k5B,k5C ) \ \ /* matrix positions */ \ { \ @@ -129,7 +129,7 @@ void ergodox_blink_all_leds(void); k49,k4A,k4B,k4C,k4D, \ k57,k58, \ k59,k47,k48, \ - k5C,k5B,k5A ) \ + k5A,k5B,k5C ) \ \ /* matrix positions */ \ { \ @@ -151,7 +151,7 @@ void ergodox_blink_all_leds(void); L40,L41,L42,L43,L44, R42,R43,R44,R45,R46, \ L55,L56, R50,R51, \ L54, R52, \ - L53,L52,L51, R55,R54,R53 ) \ + L51,L52,L53, R53,R54,R55 ) \ \ /* matrix positions */ \ { \ @@ -173,7 +173,7 @@ void ergodox_blink_all_leds(void); L40,L41,L42,L43,L44, R42,R43,R44,R45,R46, \ L55,L56, R50,R51, \ L45,L46,L54, R52,R40,R41, \ - L53,L52,L51, R55,R54,R53 ) \ + L51,L52,L53, R53,R54,R55 ) \ \ /* matrix positions */ \ { \ diff --git a/keyboards/hotdox/keymaps/default/keymap.c b/keyboards/hotdox/keymaps/default/keymap.c index 1c0f69d9b0..0ec7b352c1 100644 --- a/keyboards/hotdox/keymaps/default/keymap.c +++ b/keyboards/hotdox/keymaps/default/keymap.c @@ -46,14 +46,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_SPC,KC_BSPC,KC_END, // right hand KC_RGHT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - //KC_RGHT, KC_6, BL_OFF, BL_ON, BL_INC, BL_DEC, KC_MINS, TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, KC_LALT, CTL_T(KC_ESC), KC_PGUP, - KC_ENT,KC_TAB,KC_PGDN + KC_PGDN,KC_TAB,KC_ENT ), /* Keymap 1: Symbol Layer *