summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlayne001365 <layne.guan@gmail.com>2019-03-19 01:33:57 +0800
committerDrashna Jaelre <drashna@live.com>2019-03-18 10:33:57 -0700
commit3e7a2c49a6e81ba51a8079494bb99f61942e3d7f (patch)
treea2f4124b3bb839c9e4ac0fde7b61924b323a7aad
parentd7b381128e503a57315261841c66c13d3ab5be25 (diff)
downloadqmk_firmware-3e7a2c49a6e81ba51a8079494bb99f61942e3d7f.tar.gz
qmk_firmware-3e7a2c49a6e81ba51a8079494bb99f61942e3d7f.zip
[Keyboard] Fix matrix positions for HotDox (#5437)
* Add HotDox * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/keymaps/default/keymap.c Co-Authored-By: layne001365 <layne.guan@gmail.com> * * 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 <layne.guan@gmail.com> * Update keyboards/hotdox/keymaps/default/keymap.c Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/hotdox.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/rules.mk Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * Update keyboards/hotdox/config.h Co-Authored-By: layne001365 <layne.guan@gmail.com> * [Keymaps] reverse the K5C<->K5A, L53<->L51, R55<->R53 position.
-rw-r--r--keyboards/hotdox/hotdox.h8
-rw-r--r--keyboards/hotdox/keymaps/default/keymap.c3
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
*